Commit Graph

4348 Commits

Author SHA1 Message Date
Berkus Decker
522f804e4f Clean up a complex phrase
While it is semantically correct English, it makes non-english speakers brains boil out and also has some logical issues (being able to prevent data races does not logically imply memory safety of leaks). I've just removed this redundant comparison, simplifying the phrase.

Please, native English speakers chime in - it should be possible to further make this phrase better.
2021-11-18 20:37:04 +02:00
Carol (Nichols || Goulding)
3c2ca8528c Snapshot of chapter 10 2021-11-14 22:16:02 -05:00
Carol (Nichols || Goulding)
1b87460130 Fix quotes 2021-11-14 22:04:59 -05:00
Carol (Nichols || Goulding)
ce926c0a4e Add more explanation of Self in chapter 10. Fixes #2222. 2021-11-14 22:04:26 -05:00
Carol (Nichols || Goulding)
cb1eb1d9d6 We've defined the signatures, not behaviors. Fixes #2917 2021-11-14 21:57:31 -05:00
Carol (Nichols || Goulding)
1056768af2 Remove 'most distinctive' claim. Fixes #2861. 2021-11-14 21:56:03 -05:00
Carol (Nichols || Goulding)
4b607d12ca Clarify that traits must be brought into scope to use their methods
Fixes #2801, among other things
2021-11-14 21:49:21 -05:00
Carol (Nichols || Goulding)
3226941a8c Explain why lifetimes are part of the function contract better
Related to #2862, #2296, #1710
2021-11-14 21:29:10 -05:00
Carol (Nichols || Goulding)
6a23b2c7ff Further edits to #2895 2021-11-13 21:31:22 -05:00
Jack Clayton
748b4cd243 Clarify generic types in mixin 2021-11-13 21:29:11 -05:00
Carol (Nichols || Goulding)
fba24c1030 Change 'either' to 'at least one of'. See #2885 2021-11-13 21:26:40 -05:00
Carol (Nichols || Goulding)
4c62ff9b3f Clarify explanation of lifetime annotations a bit 2021-11-13 21:24:41 -05:00
Carol (Nichols || Goulding)
aedf9b63b2 Further edits to clarify code explanation 2021-11-13 21:18:25 -05:00
gfrancesco
082b01db95 Clarify the meaning of a sentence in ch10-03
I'm new to Rust and reading the original sentence made me wonder if we need `Display` because the parameter is printed before the comparison or just because it is printed.
It's a small thing and maybe not so critical, hope I got it right.
2021-11-13 21:17:12 -05:00
Carol (Nichols || Goulding)
e2a45a1d7b Clarify this code is demonstrating usage of the library from a binary. Fixes #1445. 2021-11-13 21:14:56 -05:00
Carol (Nichols || Goulding)
8b09da0530 Clarify generics in method definitions and impls. Fixes #2679. 2021-11-13 21:09:15 -05:00
Eric Huss
5c5dbc5b19 Fix constants link. 2021-11-09 19:30:43 -05:00
Carol (Nichols || Goulding)
1524fa89fb Fix updated anchor 2021-11-06 22:25:06 -04:00
Carol (Nichols || Goulding)
24ec868357 Propagate edits to chapter 2 back 2021-11-06 22:18:27 -04:00
Carol (Nichols || Goulding)
d281b7b062 Edits to nostarch's chapter 3 edits 2021-11-06 21:47:50 -04:00
Carol (Nichols || Goulding)
274fb463e0 ch 3 from nostarch 2021-11-06 20:46:14 -04:00
João M. Bezerra
acc806a06b Fix Cargo.toml snippet about custom derive macros 2021-11-06 20:40:43 -04:00
Carol (Nichols || Goulding)
5eba308fd9 Snapshot of chapter 9 for nostarch 2021-10-30 21:49:15 -04:00
Carol (Nichols || Goulding)
7d1d6ab0f3 Create tmp/src for converting quotes, not sure why this broke but ok 2021-10-30 21:49:15 -04:00
Carol (Nichols || Goulding)
3873c1b6bf Update question mark to better explain where it can be used
Fixes #2537.
2021-10-30 21:49:15 -04:00
Carol (Nichols || Goulding)
3edfda587d Clarify sentence about Results in functions that don't return Result. Fixes #2912. 2021-10-30 21:49:15 -04:00
Carol (Nichols || Goulding)
2be4d76d68 Merge pull request #2913 from covariant/patch-1 2021-10-26 21:06:52 -04:00
covariant
dcaf10436e Fix typo ch17 2021-10-25 10:18:05 -07:00
Carol (Nichols || Goulding)
fd92997928 Reword description to emphasize what return does in a match arm
Fixes #1577.
2021-10-22 21:59:46 -04:00
Carol (Nichols || Goulding)
ee18d365c0 Correct backwards wording describing From impls. Fixes #2829 2021-10-22 21:44:19 -04:00
Carol (Nichols || Goulding)
6a911c3d3e Remove multiple negatives, add examples. Fixes #2833 2021-10-22 21:34:39 -04:00
Carol (Nichols || Goulding)
c2c3ea0c90 Fix capitalization in sidebar. Fixes #2860 2021-10-22 21:24:44 -04:00
Carol (Nichols || Goulding)
9c0fa27148 fix quotes 2021-10-22 21:10:31 -04:00
Carol (Nichols || Goulding)
8d33b4d700 comments from nostarch and responses for chapter 2 2021-10-22 21:10:31 -04:00
Carol (Nichols || Goulding)
69fe1afbbc Merge pull request #2906 from rust-lang/ch8 2021-10-15 18:24:14 -04:00
Carol (Nichols || Goulding)
5c381149df start cleaning up snapshot, not done 2021-10-15 18:20:28 -04:00
Carol (Nichols || Goulding)
2519da2b8e Explain what split_whitespace does in this example 2021-10-14 21:33:55 -04:00
Carol (Nichols || Goulding)
42bd1d5c5d Remove the suggestion to compute the average of a list
Fixes #2252.
2021-10-14 21:27:03 -04:00
Carol (Nichols || Goulding)
067fd970d4 Merge pull request #2892 from Enrico2/patch-1 2021-10-14 20:40:09 -04:00
Ran Magen
f45bd8da91 Remove the Hebrew translation link, it's a 404 2021-09-21 10:31:09 -07:00
Carol (Nichols || Goulding)
eb1282ec44 Merge pull request #2890 from rust-lang/rust-1.55
Rust 1.55
2021-09-16 21:17:09 -04:00
Carol (Nichols || Goulding)
126aa9faa8 Update to Rust 1.55 2021-09-16 21:01:38 -04:00
Carol (Nichols || Goulding)
e7d05cec4b Update mdbook to match rust-lang/rust 2021-09-15 21:49:21 -04:00
Carol (Nichols || Goulding)
1e9632cec2 Clean listings' target dirs to save me some disk space 2021-09-15 21:45:14 -04:00
Carol (Nichols || Goulding)
39cea3323e Merge pull request #2877 from jruderman/letx
Chapter 3.3: Remove unused variable
2021-09-15 21:33:21 -04:00
Carol (Nichols || Goulding)
ceaaa5918e Merge pull request #2876 from jruderman/rmspace
Appendix (operators and symbols): remove extra space
2021-09-15 21:31:10 -04:00
Carol (Nichols || Goulding)
84435e5cbf Merge pull request #2867 from jruderman/commadp
Chapter 17.1: add missing comma
2021-09-15 21:30:46 -04:00
Jesse Ruderman
4ecd2750f5 Remove unused variable 2021-09-09 15:49:07 -07:00
Jesse Ruderman
f83c4d08d2 Remove extra space 2021-09-09 14:58:35 -07:00
Jesse Ruderman
3fa4eeca3a Add missing comma 2021-09-09 12:02:52 -07:00