Commit Graph
1148 Commits
Author SHA1 Message Date
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
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
Carol (Nichols || Goulding) 48435edc80 Update output in ch 12 2018-12-29 13:39:51 -05:00
Carol (Nichols || Goulding) 2458840b26 Merge pull request #1722 from CryZe/patch-2
Remove `use minigrep;` from Ch12-03
2018-12-29 12:31:05 -05:00
Carol (Nichols || Goulding) d5ec076fc7 Merge pull request #1705 from JosephTLyons/ch-06-02-code-sample-efficiency
With the largest value being 25 cents (Quarter), we can return a u8 instead of a u32
2018-12-29 11:35:51 -05:00
Carol (Nichols || Goulding) f2960965ca Merge pull request #1721 from haslersn/enhancement/precise-ref-documentation-comments
More precisely specify cross ref for doc comments
2018-12-29 11:32:30 -05:00
Carol (Nichols || Goulding) ed180c27be Remove distracting reasoning
The reader might not have assumed that char was 2 bytes; I think this
just needs the info rather than info+rationale.
2018-12-29 11:27:11 -05:00
Carol (Nichols || Goulding) 0b95812e1e Merge pull request #1717 from haslersn/enhancement/data-types-char-size
Add char size
2018-12-29 11:25:57 -05:00
Carol (Nichols || Goulding) 1f49356cb2 Remove identifiers section; this is redundant with Appendix A
And I like the discussion of Raw Identifiers there rather than a topic
we acknowledge is rarely needed so early in the book.
2018-12-29 11:22:53 -05:00
Carol (Nichols || Goulding) cd07c5b9a5 Keywords section is a box in the print edition 2018-12-29 11:22:53 -05:00
Carol (Nichols || Goulding) e21e1376d9 Merge pull request #1712 from ralvessa/chapter-9.3-typos
Fix typos in Chapter 9.3
2018-12-29 11:10:41 -05:00
Carol (Nichols || Goulding) a2bbf39979 Fix spelling mistake 2018-12-29 11:09:54 -05:00
Carol (Nichols || Goulding) 5e2da661e5 Merge remote-tracking branch 'origin/pr/1711' 2018-12-29 11:08:31 -05:00
Carol (Nichols || Goulding) 963aca8cd3 Merge pull request #1707 from JSin/reference-count-confusion
Change wording around reference count to only refer to one Rc<List> to reduce confusion.
2018-12-29 11:03:57 -05:00
Carol (Nichols || Goulding) 57af54e580 Merge pull request #1706 from PhilLavoie/fix-ch07-typo
Fixing ch07 typo: "use specify"
2018-12-29 10:55:35 -05:00
Carol (Nichols || Goulding) 3d70a355fc Merge pull request #1704 from JSin/master
Change use cons list enum to crate to refer to the current crate.
2018-12-29 10:55:02 -05:00
Carol (Nichols || Goulding) 34caca254c More corrections to 2018 edition that happened in second edition
After they were forked
2018-12-29 10:53:26 -05:00
Christopher Serr f41ecf8a3c Remove use minigrep; from Ch12-03
This is not necessary anymore with Rust 2018.
2018-12-28 01:22:17 +01:00
haslersn 75a77762ea More precisely specify cross ref for doc comments
Previously it was (even after reading the cross reference) a bit cumbersome
to find the exact location of the book where documentation comments are
addressed.

This is because it can't be infered from the section's name that it
addresses documentation or comments.
2018-12-27 19:12:22 +01:00
haslersn 30b27fac4b Add char size
The subsection "The Boolean Type" already had a sentence stating a
Boolean's size. This adds the same for the subsection "The
Character Type".
2018-12-27 17:57:25 +01:00
Rafael Alves Sa a485d737d9 Replace "a i32" with "an i32" 2018-12-25 23:06:43 +00:00
Rafael Alves Sa b69207660f Fix typos in Chapter 7.2 2018-12-23 23:43:22 +00:00