Commit Graph
4245 Commits
Author SHA1 Message Date
Carol (Nichols || Goulding) fea790a4ec Avoid using foo/bar, introducing too much too fast with variable-assigned-to-variable 2021-07-17 21:15:49 -04:00
Carol (Nichols || Goulding) 58ee7cebdf Add Deref trait to overload the deref operator in appendix table
Fixes #1870.
2021-07-16 22:16:19 -04:00
Carol (Nichols || Goulding) dd76781573 Revise linker installation instructions. Fixes #2151. 2021-07-16 22:03:37 -04:00
Carol (Nichols || Goulding) f1f8b737d3 Clarify number literal type suffixes. Fixes #1979. 2021-07-16 21:28:48 -04:00
Carol (Nichols || Goulding) 0c79085da3 Add a note that lifetimes are coming up but aren't required
Fixes #1538.
2021-07-15 21:11:19 -04:00
Carol (Nichols || Goulding) 7a296dc649 Zip creates an iterator, not a vector. Fixes #2762. 2021-07-13 22:28:11 -04:00
Carol (Nichols || Goulding) 40392517a9 Add Thai translation to the appendix. Connects to #2636 2021-07-13 21:57:57 -04:00
Carol (Nichols || Goulding) 3ce0d7d506 Derive Copy and Clone for Point to match stdlib docs example; fixes #2657 2021-07-13 21:49:57 -04:00
Carol (Nichols || Goulding) f19baafab8 Make the definition of Option match the stdlib's, fixes #2634 2021-07-13 21:47:07 -04:00
Carol (Nichols || Goulding) 2a8defb41f Explain double quote backslash; closes #2597 2021-07-13 21:45:40 -04:00
Carol (Nichols || Goulding) 07325bffbc Don't use the term 'anonymous struct' to fix #2584 2021-07-13 21:40:36 -04:00
Carol (Nichols || Goulding) c032e94540 Reword a sentence to fix #2525 2021-07-13 21:31:05 -04:00
Carol (Nichols || Goulding) 714f624cb2 Add Hindi translation. Connects to #2496 2021-07-08 21:48:02 -04:00
Carol (Nichols || Goulding) 4921fde29a Remove unsafe Ferris designations from code. Fixes #2555 2021-07-08 21:43:57 -04:00
Carol (Nichols || Goulding) b59720460d Add Traditional Chinese translation. Connects to #2470 2021-07-08 21:13:04 -04:00
Carol (Nichols || Goulding) 52c2a17e73 Remove some more references to the authors field 2021-07-08 21:03:05 -04:00
Carol (Nichols || Goulding) f4ee51e9d9 Make Appendix E be a link 2021-07-08 20:53:58 -04:00
Carol (Nichols || Goulding) 4c8075d062 fix line wrapping 2021-07-08 20:53:06 -04:00
Vivek Vinod 1e6a5dd65b remove description about the authors field 2021-07-08 12:27:35 +05:30
Vivek Vinod 1be91682d1 remove the authors field 2021-07-08 12:26:09 +05:30
Vivek Vinod 17e3edebb0 remove the authors field
Remove the authors field that is no longer automatically populated. Also edit the following paragraph correspondingly.
2021-07-08 12:25:11 +05:30
Carol (Nichols || Goulding) a90f07f1e9 Clarify ?Sized syntax. Fixes #2422. 2021-07-05 14:43:12 -04:00
Carol (Nichols || Goulding) ee7c5776a9 Add some notes that macros are different than functions
Attempts to fix #2356.
2021-07-05 14:21:56 -04:00
Carol (Nichols || Goulding) 2d605f66b3 Break up a long sentence. Fixes #2329. 2021-07-05 14:10:32 -04:00
Carol (Nichols || Goulding) ec5ea9615e Further clarify and make consistent the reference to deref coercion 2021-07-05 14:05:54 -04:00
Morris Li 4c19489368 Update ch04-03-slices.md
Add Deref Coercions annotations
2021-07-05 14:05:54 -04:00
Morris Li ffa44f28a6 add usage for String reference
https://users.rust-lang.org/t/string-slice-as-parameter-syntax-question/16861

I believe many beginners will also have same problem, so I add the usage and annotations.
2021-07-05 14:05:54 -04:00
Carol (Nichols || Goulding) a51f437c18 Merge pull request #2780 from kennethy/patch-1
Update ch15-02-deref.md
2021-07-05 13:46:39 -04:00
Carol (Nichols || Goulding) b0f0250123 Remove claim about performance of i32 2021-07-05 13:44:11 -04:00
Carol (Nichols || Goulding) 009fffa458 Reword to avoid awkward pluralization 2021-07-05 13:41:08 -04:00
Carol (Nichols || Goulding) abc2ff3258 Make the link to the reference relative 2021-07-05 13:31:04 -04:00
Carol (Nichols || Goulding) f710f8c7bc Merge remote-tracking branch 'origin/pr/2753' 2021-07-05 13:28:35 -04:00
Carol (Nichols || Goulding) 4ba90c1df8 Merge pull request #2750 from smasher164/patch-1
Reword number of library crates a package contains
2021-07-05 13:27:45 -04:00
Carol (Nichols || Goulding) cfb2c3cce7 Clarify explanation of why you can test private functions; add link 2021-07-05 13:26:51 -04:00
Carol (Nichols || Goulding) 6d747785a6 Merge remote-tracking branch 'origin/pr/2743' 2021-07-05 13:19:20 -04:00
Carol (Nichols || Goulding) 05a580c326 Fix code hiding that I broke in eb60fedc9
Pointed out in https://github.com/rust-lang/book/pull/2741
2021-07-05 13:07:17 -04:00
Carol (Nichols || Goulding) 81d05c9a6d Link to the exact later section we're talking about 2021-07-05 11:11:18 -04:00
Taylor Yu b413277520 improve cross-references for newtype pattern 2021-07-05 11:06:30 -04:00
Carol (Nichols || Goulding) a04d5855a5 Merge pull request #2731 from Bernardozomer/issue2730-ch12.5-listing-12-20-add-missing-warning
ch12-05, listing 12-20: Add missing "does not compile" warning
2021-07-05 11:04:34 -04:00
Carol (Nichols || Goulding) b1666c2844 cargo format 2021-07-04 13:43:21 -04:00
Carol (Nichols || Goulding) ee7f225e2e Merge remote-tracking branch 'origin/pr/2724' 2021-07-04 13:36:45 -04:00
Carol (Nichols || Goulding) 219b9b6e97 Remove ordinal numbers and only refer to indexes to avoid confusion 2021-07-04 13:35:22 -04:00
Carol (Nichols || Goulding) 338042ceb9 Let's mention the former and current authors of tlborm. 2021-07-04 13:31:14 -04:00
Carol (Nichols || Goulding) c4ba568304 Merge pull request #2722 from seanchen1991/main
Update tlborm link to point to Veykril's up-to-date version
2021-07-04 13:29:47 -04:00
Kenneth Yang 1a84ecd993 Update ch15-02-deref.md
Was confused by this line.

`String`'s `deref` implementation actually returns a [`&str`](https://doc.rust-lang.org/beta/src/alloc/string.rs.html#2305), not `str`.
2021-07-04 00:38:47 -04:00
Carol (Nichols || Goulding) 761398ff32 Merge remote-tracking branch 'origin/pr/2720' 2021-07-03 21:10:19 -04:00
Carol (Nichols || Goulding) 0ba3ca6874 Describe the ferris pictures in the alt text
When the Ferrises actually occur, they have title attributes that says
their meaning. I feel like in this spot, it's better to describe the
ferrises rather than repeat what the right hand column says.
2021-07-03 20:41:17 -04:00
Carol (Nichols || Goulding) 8d94ee9ad2 Merge remote-tracking branch 'origin/pr/2707' 2021-07-03 14:41:48 -04:00
Carol (Nichols || Goulding) 1a4e07ad8d Reword ... explanation to include the word deprecated, list that first 2021-07-03 14:20:29 -04:00
Carol (Nichols || Goulding) 1ec8817b20 Merge pull request #2714 from Canop/patch-1
Precise that the `...` inclusive range pattern has been replaces
2021-07-03 14:18:01 -04:00