Commit Graph

1017 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
e7c1629192 Remove trailing spaces 2016-10-15 11:50:53 -04:00
Carol (Nichols || Goulding)
ea9e36cba7 Add in fold to hard wrap at 80 chars; start a script 2016-10-15 11:50:52 -04:00
Carol (Nichols || Goulding)
eb23f37f50 Add code blocks 2016-10-15 11:50:52 -04:00
Carol (Nichols || Goulding)
7424a3f242 Get chapter titles, body, and literals in text working 2016-10-15 11:50:52 -04:00
Carol (Nichols || Goulding)
325a550f2f Start of xsl 2016-10-15 11:50:47 -04:00
Carol (Nichols || Goulding)
c1b3ec433b Add a missing rust language specifier
Since the code hiding only works for rust code.

Fixes #300.
2016-10-15 10:30:01 -04:00
Carol (Nichols || Goulding)
8abd82d447 Make all error messages consistently capitalized 2016-10-14 22:39:04 -04:00
Carol (Nichols || Goulding)
5da413aa58 Fix a few more bindings -> variables and formatting issues 2016-10-14 22:17:09 -04:00
Carol (Nichols || Goulding)
75699e3e53 Fix a few more things with the doc that XSL helped me find 2016-10-14 21:57:11 -04:00
Carol (Nichols || Goulding)
fea293155a Change formatting to be pedantically correct 2016-10-14 21:48:29 -04:00
Carol (Nichols || Goulding)
315fe870d2 Change more filenames to use * 2016-10-14 21:39:12 -04:00
Carol (Nichols || Goulding)
b974d0b749 Add backticks around the code in the caption 2016-10-14 21:17:06 -04:00
Carol (Nichols || Goulding)
10e05517ba Use fancy quotes 2016-10-14 20:04:36 -04:00
Carol (Nichols || Goulding)
d9cceb7365 Add caption tags to the listings 2016-10-14 20:04:16 -04:00
Carol (Nichols || Goulding)
43a94644fa Fix word wrap, it's not 💯 2016-10-14 20:03:37 -04:00
Carol (Nichols || Goulding)
a763bf24b7 Use * for filenames and emphasis 2016-10-14 20:03:29 -04:00
Carol (Nichols || Goulding)
466a74aebc Move rust tools out of book src dir 2016-10-14 14:42:35 -04:00
Carol (Nichols || Goulding)
cf39be045f Ship new version of ch 2 to nostarch 2016-10-14 14:14:45 -04:00
Carol (Nichols || Goulding)
3f99acf8ee Fix link2print script treating derive code as a link 2016-10-14 14:13:23 -04:00
Carol (Nichols || Goulding)
a307b7fc26 Merge pull request #278 from rust-lang/ch2-ce-backport
Ch2 ce backport
2016-10-14 14:05:18 -04:00
Carol (Nichols || Goulding)
895cb2c2c6 Address another few nits 2016-10-14 14:03:03 -04:00
Carol (Nichols || Goulding)
c1c2602b85 Removing the Debugging chapter placeholder. Fixes #290. 2016-10-13 17:53:54 -04:00
Carol (Nichols || Goulding)
0e8af61665 Address Steve nits 2016-10-13 17:50:42 -04:00
Carol (Nichols || Goulding)
cc69c49628 Sync changes into the doc 2016-10-13 17:40:08 -04:00
Carol (Nichols || Goulding)
72cfdad239 Remove odt file since apparently we're using doc now 2016-10-13 17:40:08 -04:00
Carol (Nichols || Goulding)
506c524b9b Reword enumeration/enum 2016-10-13 17:40:07 -04:00
Carol (Nichols || Goulding)
e2458a3972 Switch more back to "we", also use "the user" and reword when possible
Keeping "you" when the text talks about something that the reader might
encounter in the future, or when they need to actively do something.
Talk about "the user" as "the player of the game", to distinguish from
the reader (they're probably the same in this case, but I think it's
less confusing this way). Use "we" when introducing new parts of the
code that we're working on together with the reader. Some spots didn't
really need to make this decision; I reworded them to be more generic.
2016-10-13 17:40:07 -04:00
Carol (Nichols || Goulding)
d7ecc4daa2 Carol tweaks to the first few paragraphs 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
57bbf4e7ef Changes from nostarch to go back to "we" in some cases 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
a822f470d1 Make more edits as I reconciled the two versions 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
f721840b7a Small fixes from a readthrough with "show changes" off
ugh the changes make it so hard to read anything
2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
73ed366ca9 Check all changes made in copyediting; edit some further 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
fcb7cb644e Address all copyedit comments in the doc 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
bc80131450 Incorporated our upstream changes into the doc 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
4d30c9d063 Chapter 2 as we received it from copyediting 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
f694b19e4a Backport changes from copyediting that we want to keep 2016-10-13 15:10:45 -04:00
Carol (Nichols || Goulding)
b7a9b8a3d0 Flesh out constructor contract example 2016-10-13 15:02:29 -04:00
Carol (Nichols || Goulding)
9cb2218b46 Remove a "this" that's not clear 2016-10-12 13:55:30 -04:00
Carol (Nichols || Goulding)
261056e39f Start of a section on good unwrap usage` 2016-10-12 13:55:14 -04:00
Carol (Nichols || Goulding)
68bf232eb7 Remove not-quite-accurate parts of this section 2016-10-12 13:54:38 -04:00
Carol (Nichols || Goulding)
8f17a2a4c8 Don't talk about main in the default recommendation 2016-10-12 13:53:53 -04:00
Carol (Nichols || Goulding)
34b346c615 Fix section headers 2016-10-12 11:44:54 -04:00
Carol (Nichols || Goulding)
a3dfedb921 Add a discussion of matching on error kind 2016-10-12 11:08:45 -04:00
Carol (Nichols || Goulding)
1eaa218746 Finish rearranging the Result section 2016-10-12 10:38:32 -04:00
Carol (Nichols || Goulding)
48bed57e67 Use try! for the illustration of calling it in main
Until rust-lang/rust#35946 is fixed, so that the error message is
clearer than not implementing the Carrier trait.
2016-10-12 10:37:22 -04:00
Carol (Nichols || Goulding)
64a3a2031a Use blockquotes to make boxes in online version too 2016-10-12 09:38:42 -04:00
Carol (Nichols || Goulding)
e98eab8cb5 Reworking Result examples til I hit the horrible Carrier error 2016-10-11 20:59:46 -04:00
Carol (Nichols || Goulding)
6d2a2c4dd7 Remove distraction about literal 100 2016-10-11 17:31:41 -04:00
Carol (Nichols || Goulding)
da9422bc96 Add a sidebar on unwind vs abort 2016-10-11 17:31:30 -04:00
Carol (Nichols || Goulding)
e10d974b23 Update reason why we can't test beta rn 2016-10-11 15:42:53 -04:00