Commit Graph

3759 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
5fa10e2ea9 Merge pull request #1901 from L0uisc/lifetime-explanation
Make lifetime explanation clearer
2019-04-15 19:16:35 -04:00
Carol (Nichols || Goulding)
2797e27757 Merge pull request #1831 from tonytonyjan/patch-3
Replace `T: 'a + Messenger` with `T: Messenger`
2019-04-15 18:43:20 -04:00
Carol (Nichols || Goulding)
c231bf7e49 Merge pull request #1890 from Plotnus/patch-1
Update range so matches rust-fmt .
2019-04-15 18:41:55 -04:00
Carol (Nichols || Goulding)
c973f37f5a Merge pull request #1891 from Plotnus/patch-2
Adding trailing comma
2019-04-15 14:22:25 -04:00
Carol (Nichols || Goulding)
489fd11cad Merge pull request #1919 from fedorg/2018fix
point 2018 book redirects to existing pages instead of index
2019-04-15 14:20:46 -04:00
Carol (Nichols || Goulding)
50f62a720b Merge pull request #1921 from lewisbelcher/patch-1
Update ch04-03-slices.md
2019-04-15 14:16:13 -04:00
Carol (Nichols || Goulding)
3970cf3177 Merge pull request #1915 from andreevlex/feature/update-link-russian-translation
Update link for Russian translation.
2019-04-15 14:10:06 -04:00
Lewis Belcher
259e59423e Update ch04-03-slices.md
`&str` parameter works for `&String` not `String` (likely just a typo).
2019-04-14 13:43:23 +02:00
Fedor Golishevskiy
506c9f12d4 point 2018 book redirects to existing pages instead of index 2019-04-14 04:23:30 +03:00
Carol (Nichols || Goulding)
d97c439557 Merge pull request #1917 from rust-lang/ch7-layout
Ch7 layout
2019-04-12 13:51:56 -04:00
Carol (Nichols || Goulding)
7d871527ca Remove snapshot files that aren't needed anymore 2019-04-12 13:12:38 -04:00
Carol (Nichols || Goulding)
035d511ae6 Propagate a change nostarch made 2019-04-12 13:12:37 -04:00
Carol (Nichols || Goulding)
281d927b40 Change the wording of section references to what i prefer
Nostarch changed these to be "the section X" rather than "the X section"
but in the actual print version it turns into "X on page Y" so we can
diverge from nostarch because it diverges anyway.
2019-04-12 13:12:37 -04:00
Carol (Nichols || Goulding)
e1bae6b1e3 Add snip comments and sentence encouraging you to try this code
The actual return type is a distraction

Fixes #1882.
2019-04-12 13:12:37 -04:00
Carol (Nichols || Goulding)
047fe341ba Explain why eat_at_restaurant is pub
Fixes the problem fixed in https://github.com/rust-lang/book/pull/1895
2019-04-12 13:12:37 -04:00
Carol (Nichols || Goulding)
558c065546 Merge pull request #1912 from rust-lang/mdbook2
Update the version of mdbook we use in-tree to match rust-lang/rust
2019-04-12 11:24:55 -04:00
Alexander Andreev
73c6165483 Update link for Russian translation. 2019-04-12 18:18:47 +03:00
Carol (Nichols || Goulding)
0d7e6c52af Update the version of mdbook we use in-tree to match rust-lang/rust
As of the merging of https://github.com/rust-lang/rust/pull/59876, TRPL
is using mdbook 2!
2019-04-12 09:05:21 -04:00
Carol (Nichols || Goulding)
3c3220613d Fix spellingz 2019-04-11 15:40:56 -04:00
Carol (Nichols || Goulding)
bd27438570 Update listings in ch 19-6 for nostarch 2019-04-11 15:32:48 -04:00
Carol (Nichols || Goulding)
f3a464797b Add a high-level overview of the changes in this version of the book
Connects to #1888.
2019-04-11 15:08:49 -04:00
Carol (Nichols || Goulding)
c2cdf3089c Merge pull request #1893 from lwshang/master
Fix Travis CI badge url
2019-04-11 14:22:49 -04:00
Carol (Nichols || Goulding)
dbcedd3d60 Redo listing numbers in chapter 19 after removals 2019-04-11 14:18:11 -04:00
Carol (Nichols || Goulding)
10f89936b0 Remove Advanced Lifetimes section completely 2019-04-11 11:51:14 -04:00
Carol (Nichols || Goulding)
f5ce5888e7 Merge branch 'gh1780' 2019-04-11 11:46:06 -04:00
Carol (Nichols || Goulding)
e8b055d3dd Merge remote-tracking branch 'origin/master' into gh1780 2019-04-11 11:38:32 -04:00
Carol (Nichols || Goulding)
efeb2da6ee Merge remote-tracking branch 'origin/master' into gh1567 2019-04-11 11:36:30 -04:00
CrLF0710
37a17ef40c Remove FnBox and use builtin impl FnOnce for Box<FnOnce()> instead. 2019-04-10 11:05:03 +08:00
Jonathan Plotner
a0a8516b01 fixed deleted space
Fixed the deleted space from the initial pr.
2019-04-09 19:01:32 -04:00
Louis Cloete
173c4456ef Fix unclear wording in 4.3 2019-04-09 22:33:28 +02:00
Louis Cloete
e59c9f8ee9 Corrected typo 2019-04-08 18:11:04 +02:00
Louis Cloete
e74d176dca Update ch10-03-lifetime-syntax.md 2019-04-08 17:45:23 +02:00
Louis Cloete
7ac22b109a Corrected error for array out of bounds 2019-04-08 16:59:32 +02:00
lwshang
82093d572f Fix Travis CI badge url 2019-04-05 16:50:53 -04:00
Jonathan Plotner
5c57d8e28c Adding trailing comma
The trailing comma was missing from the final variant of the Color enum.
I thought it would be nice to add it for consistency.
2019-04-03 02:25:04 -04:00
Jonathan Plotner
2ca8f70d41 Update range so matches rust-fmt .
When saved rust-fmt removed the spaces in `1 ... 5`. This change will make the book consistent with rust-fmt.
2019-04-02 15:17:16 -04:00
Carol (Nichols || Goulding)
b93ec30bbc Unignore example that now compiles 2019-03-26 16:54:10 -04:00
Carol (Nichols || Goulding)
322aa86fa2 Merge pull request #1863 from vlad20012/patch-1
Fix code snippet
2019-03-26 16:53:13 -04:00
Carol (Nichols || Goulding)
6a115b42d2 Merge pull request #1881 from chirgjn/patch-1
Fix mdbook link text in readme
2019-03-26 16:47:08 -04:00
Carol (Nichols || Goulding)
828d794db4 Wrap to 80 cols 2019-03-26 16:46:30 -04:00
Carol (Nichols || Goulding)
3360194abf Merge pull request #1885 from king6cong/complete
Make sentence more complete
2019-03-26 16:45:44 -04:00
Carol (Nichols || Goulding)
eb66c9c3e0 Merge pull request #1884 from nicholasshirley/master
consistenly use increment and decrement
2019-03-26 16:45:01 -04:00
king6cong
9c3a5bc026 Make sentence more complete 2019-03-26 20:33:45 +08:00
Nicholas Shirley
5179c2a60f remove leftover '=' 2019-03-25 09:44:32 +01:00
Nicholas Shirley
cfb8fb9bb9 consistenly use increment and decrement
Ch 3.5 uses two different styles to increment and decrement numbers:

`number +=1;`

`number = number + 1;`

This picks the first form and applies it to all examples.
2019-03-25 08:59:10 +01:00
Chirag Jain
705cdc1c58 Fix mdbook link text in readme
I found reading that big link a bit weird, feel free to reject the PR 😄
2019-03-24 01:15:46 +05:30
Carol (Nichols || Goulding)
feeaff2f4e Merge pull request #1878 from ehuss/fix-conditional-compilation
Fix link to Reference's conditional-compilation.
2019-03-21 17:48:07 -04:00
Eric Huss
a2bbd29cb9 Fix link to Reference's conditional-compilation. 2019-03-21 14:26:40 -07:00
Carol (Nichols || Goulding)
d6f7d1537b Fix subject/verb agreement 2019-03-21 13:15:57 -04:00
Carol (Nichols || Goulding)
aaa5b32003 Remove nostarch snapshot files that have been incorporated and checked 2019-03-21 13:15:57 -04:00