Commit Graph
1168 Commits
Author SHA1 Message Date
Carol (Nichols || Goulding) 3a20127263 crates -> packages 2019-01-29 20:22:46 -05:00
Carol (Nichols || Goulding) 9d0514e33c Merge remote-tracking branch 'origin/master' into ch7-edits 2019-01-28 21:51:53 -05:00
Carol (Nichols || Goulding) c8309d6b52 Merge pull request #1745 from anoadragon453/master
Lowercase 'into' in title
2019-01-28 21:42:37 -05:00
Carol (Nichols || Goulding) 2a736003e6 Rework chapter 7 after feedback from nostarch
Also (hopefully) fixes #1760.
2019-01-28 21:22:14 -05:00
Carol (Nichols || Goulding) 0e9061cbaf Fix broken links 2019-01-15 20:31:14 -05:00
Andrew Morgan 45309896a8 Into -> into in title 2019-01-05 15:37:03 +00:00
Carol (Nichols || Goulding) 42b802f261 Merge pull request #1736 from stomar/improve-lang
Small language improvement in ch11-02
2019-01-03 21:51:58 -05:00
Carol (Nichols || Goulding) a73ca2e586 Merge pull request #1735 from stomar/fix-test-failure-msg
Fix test failure messages in ch11-01
2019-01-03 21:51:23 -05:00
Carol (Nichols || Goulding) 730d444bc0 Update more screenshots 2019-01-03 21:39:47 -05:00
Carol (Nichols || Goulding) 78ad9a5ab4 Update doc comment and screenshot to not have an unused variable
Fixes #1732.
2019-01-03 21:23:56 -05:00
Carol (Nichols || Goulding) c0a20d4538 Edits and extractions for nostarch 2019-01-03 21:12:29 -05:00
Carol (Nichols || Goulding) 26c5d75034 Remove section on the anonymous lifetime; this doesn't make sense
I think this section needs more motivation or else it doesn't belong in
the book and should be documented somewhere else. It also appears,
according to the tracking issue, that there is more to be done, which I
think will affect best practices and how this is used in the wild.

Basically, I don't think this feature is ready for the book yet.

Reopens #1273
2019-01-03 17:52:31 -05:00
Carol (Nichols || Goulding) 532c0f1bbd Removing the detail about aligning the slice
This is way too much detail and belongs in the Nomicon instead
2019-01-03 17:52:31 -05:00
Carol (Nichols || Goulding) 8edf0457ab Fixes made in second edition that needed to be propagated 2019-01-03 17:09:58 -05:00
Carol (Nichols || Goulding) d096613a6f Edits and extracting things for nostarch 2019-01-03 17:09:58 -05:00
Carol (Nichols || Goulding) db41b5be7c Editing and shipping new text to nostarch 2019-01-01 19:25:30 -05:00
Carol (Nichols || Goulding) b1d99a0837 Revert section reference change 2019-01-01 16:45:59 -05:00
Carol (Nichols || Goulding) 356d131f57 Update and extract Traits as Parameters section 2019-01-01 16:45:59 -05:00
Marcus Stollsteimer e07431ffa9 Small language improvement in ch11-02 2019-01-01 21:59:51 +01:00
Carol (Nichols || Goulding) cd98b2ddf7 Edit and extract new text for nostarch 2019-01-01 15:57:18 -05:00
Carol (Nichols || Goulding) 0bc65582c3 Updating and extracting some new text 2019-01-01 15:29:03 -05:00
Carol (Nichols || Goulding) eb6d439aae Edit and extract some new text about match expressions and errors 2019-01-01 15:29:02 -05:00
Carol (Nichols || Goulding) ef0c4c4227 Change colon to period 2019-01-01 15:01:27 -05:00
Carol (Nichols || Goulding) eab3df96e3 Update and extract backtrace 2019-01-01 15:01:27 -05:00
Carol (Nichols || Goulding) f9a15404df Make a cross reference more specific and linked 2019-01-01 15:01:27 -05:00
Carol (Nichols || Goulding) 417784bd38 Update and extract an error message 2019-01-01 15:01:26 -05:00
Carol (Nichols || Goulding) 5453267387 Update an error message 2019-01-01 13:51:03 -05:00
Carol (Nichols || Goulding) 54f4966d8f Remove kind of unrelated aside about ..=
This doesn't feel right to me, and in fact was a bit repetitive before
this was added. The text goes right back to talking about `..` after; I
think just having `..=` in the operator appendix is fine.
2019-01-01 13:51:03 -05:00
Carol (Nichols || Goulding) 0d9cbbb52e Update some error messages and add a missing filename 2019-01-01 13:51:03 -05:00
Marcus Stollsteimer d46b223538 Fix test failure messages in ch11
Fix column numbers and remove superfluous indent.
2019-01-01 18:53:59 +01:00
Carol (Nichols || Goulding) 5de0811545 Make some edits to returning values from loops and extracting for NS 2019-01-01 11:25:10 -05:00
Carol (Nichols || Goulding) 67e76fcb48 an use -> a use 2018-12-31 21:51:50 -05:00
Carol (Nichols || Goulding) 962c91fffc Edit and add to new text about arrays
Connects to #1063.
2018-12-31 17:28:53 -05:00
Carol (Nichols || Goulding) a39f51ce64 Match number of literals 2018-12-31 17:28:52 -05:00
Carol (Nichols || Goulding) 886fc4f2d7 Incorporate type size trivia into prose rather than being referency 2018-12-31 17:28:52 -05:00
Carol (Nichols || Goulding) 6cc27eac3d Make some edits to the new integer overflow section
Change it into a box to avoid single section
2018-12-31 17:28:52 -05:00
Carol (Nichols || Goulding) 25084ef930 Remove double punctuation
Even though it makes the code not exactly match what we entered,
completely
2018-12-31 15:32:26 -05:00
Carol (Nichols || Goulding) 7ccf60ad3b Fix the rest of this sentence explaining Cargo.toml 2018-12-31 14:15:05 -05:00
Carol (Nichols || Goulding) 494d437c70 Make the PowerShell change here smaller
I don't think showing the PowerShell output adds much value.
2018-12-31 14:15:05 -05:00
Carol (Nichols || Goulding) bb062e1e2f Make some edits to Raw Identifiers and prepare for nostarch 2018-12-30 21:50:23 -05:00
Carol (Nichols || Goulding) 8f495f2dcb New landing page/version specification spot 2018-12-29 21:17:57 -05:00
Carol (Nichols || Goulding) c81b31d7ac Remove section on legacy ref/ref mut 2018-12-29 20:58:34 -05:00
Carol (Nichols || Goulding) 9a1ab046f9 Remove section on destructuring references
Because of match ergonomics, we don't need to explain why you need a `&`
anymore, because you don't!

Fixes #1539.
2018-12-29 20:55:50 -05:00
Carol (Nichols || Goulding) d567077b94 Update compiler error text
In this spot, we're showing how to read error messages, so it's more
important that the output be more up-to-date.

Fixes #1536.
2018-12-29 20:47:49 -05:00
Carol (Nichols || Goulding) 365014ad84 Use unwrap_or_else instead of map_err
Fixes #1461.
2018-12-29 20:34:29 -05:00
Carol (Nichols || Goulding) 9d431b25ca Merge pull request #1728 from iluuu1994/hotfix/consistent-tree-styling
Consistent tree styling
2018-12-29 20:16:24 -05:00
Carol (Nichols || Goulding) af75d6554f Add self to pub uses and update docs screenshot
Fixes #1637.
2018-12-29 15:29:14 -05:00
Carol (Nichols || Goulding) 50d50bc723 Make an example we were ignoring compile; update for 2018
Fixes #1636.
2018-12-29 14:57:48 -05:00
Carol (Nichols || Goulding) e46ba5d190 Don't reintroduce the iterator term
Fixes #1646.
2018-12-29 14:04:39 -05:00
Ilija Tovilo 1677d2681f Consistent tree styling 2018-12-29 19:53:53 +01:00