Commit Graph

443 Commits

Author SHA1 Message Date
Jim Turner
d54586edff Move byte literal into integer types section
Byte literals are just a convenient way to write `u8` literals, so it
makes more sense to mention byte literals under the integer types
section than having a separate section for byte literals.
2016-08-20 19:06:26 -04:00
Jim Turner
a95ac62c80 Clarify that there isn't a separate "byte type"
The text indicated that there was separate a "byte type" in Rust.
However, based on the Rust reference, byte literals are simply a more
convenient way to represent `u8` numbers and arrays of `u8` numbers.
This change clarifies that there is no separate "byte type".

Also, the text suggested that only ASCII characters could be represented
with byte literals; however, non-ASCII 8-bit values can be represented
using backslash escapes in byte literals. This change changes the
wording to "8-bit values".
2016-08-20 17:33:59 -04:00
Carol (Nichols || Goulding)
ba94ced602 Point to the installation page for people who don't want rustup
Fixes #178. Should have done this before shipping to nostarch, oh well.
2016-08-20 14:13:44 -04:00
Carol (Nichols || Goulding)
e2df7322cd Make two docs links relative
Fixes #131.
2016-08-20 14:09:31 -04:00
Carol (Nichols || Goulding)
7bfbc68a4f Changes shipped to nostarch 2016-08-19 2016-08-19 17:29:37 -04:00
Carol (Nichols || Goulding)
6b022d6972 Instead of having [TOC] in the source, put that in when we concat 2016-08-19 16:56:53 -04:00
Carol (Nichols || Goulding)
612f9bea87 Fix some bad links I made 2016-08-19 16:56:15 -04:00
Carol (Nichols || Goulding)
9daaaf7fb9 Add some error messages to make bad links easier to find
Yes, I know this affects performance since it has to do the formatting
even if the result succeeds, no, this does not need to be performant
2016-08-19 16:54:33 -04:00
Carol (Nichols || Goulding)
93c32ab3f2 Merge pull request #192 from rust-lang/resolve-nostarch-comments
Resolve nostarch comments
2016-08-19 16:41:45 -04:00
Carol (Nichols || Goulding)
258838921f Harken back to the definition that I moved earlier 2016-08-19 13:41:46 -04:00
Carol (Nichols || Goulding)
e63c645c76 Make Windows instructions correct and clearer
Fixes #196.
2016-08-19 13:41:46 -04:00
Carol (Nichols || Goulding)
b0126e2c97 Small tweaks to things I wanted to change while reading through again 2016-08-19 13:41:46 -04:00
Carol (Nichols || Goulding)
ed94e466db Lines that start with a number and a period are becoming <ol>s
I think this is a bug in the markdown implementation; I would expect
this to only happen if there was an empty line before the line starting
with "#.". Will report, but I just reworded it so the numbers don't land
that way for now.
2016-08-19 13:40:36 -04:00
Carol (Nichols || Goulding)
a95f40c5af Make a note consistent with the other notes using a blockquote 2016-08-19 13:40:36 -04:00
Carol (Nichols || Goulding)
b3eceda9e4 Fix some links I broke 2016-08-19 13:40:36 -04:00
Carol (Nichols || Goulding)
279cfd75c3 Fix word wrapping 2016-08-19 13:40:36 -04:00
Carol (Nichols || Goulding)
049ec71eb5 Resolve comments and changes that I edited considerably after applying 2016-08-19 13:40:13 -04:00
Carol (Nichols || Goulding)
924e4932e8 Take wording suggestions from nostarch
With a few further small tweaks.
2016-08-19 13:31:14 -04:00
Carol (Nichols || Goulding)
9a46cdd458 Write down stylistic things we should be doing throughout
So that we can make sure we're consistent.
2016-08-19 13:24:22 -04:00
Carol (Nichols || Goulding)
1b4c0611c7 Remove some main wrappings; other examples in this file don't have it 2016-08-19 13:20:41 -04:00
Carol (Nichols || Goulding)
a505ae2fbd Add a missing rust syntax annotation 2016-08-19 13:20:41 -04:00
Carol (Nichols || Goulding)
2b87c56f35 Fix a newline that should have been hidden 2016-08-19 13:20:41 -04:00
Carol (Nichols || Goulding)
2e76ef730b Add Filename annotations where appropriate
Fixes #190.
2016-08-19 13:20:24 -04:00
Carol (Nichols || Goulding)
b6165b32b9 Change single quotes in prose to italics or double quotes 2016-08-19 11:37:00 -04:00
Carol (Nichols || Goulding)
c71825cea0 Merge pull request #202 from ykomatsu/enum
Fix a typo
2016-08-19 10:41:53 -04:00
Carol (Nichols || Goulding)
11cb24bb2a Fix a few more places where stdout text should be bash highlighting
Fixes #139.
2016-08-19 10:36:50 -04:00
Carol (Nichols || Goulding)
b7e4ce81bb Merge pull request #203 from ykomatsu/text
Change the type of output messages
2016-08-19 10:28:11 -04:00
Carol (Nichols || Goulding)
2c9c3b53bb Merge pull request #204 from ykomatsu/indentation
Fix wrong indentation
2016-08-19 10:26:58 -04:00
Yoshito Komatsu
12c6a7e8bb Fix wrong indentation 2016-08-19 06:37:30 +00:00
Yoshito Komatsu
55ba06a32b Change the type of output messages 2016-08-19 05:49:51 +00:00
Yoshito Komatsu
0cea8de0ca Fix a typo 2016-08-19 05:38:34 +00:00
Carol (Nichols || Goulding)
bccf88fd8f You want to write long comments? Ok, cool. Now they're in the book. 2016-08-18 13:14:58 -04:00
Carol (Nichols || Goulding)
1750b421e1 Define "crate" the first time we use it 2016-08-18 13:14:33 -04:00
Carol (Nichols || Goulding)
aa813ddb8b Fix chapter reference 2016-08-18 11:02:21 -04:00
Carol (Nichols || Goulding)
df802de273 Fix hard wrap 2016-08-18 11:02:13 -04:00
Carol (Nichols || Goulding)
117bb1d2cf Add a script that hooks the nostarch build commands together 2016-08-18 10:54:22 -04:00
Carol (Nichols || Goulding)
2d3651da52 Merge remote-tracking branch 'origin/pr/197' 2016-08-18 09:38:25 -04:00
Carol (Nichols || Goulding)
9b70ed3dc3 Merge pull request #200 from ykomatsu/typo
Fix a typo
2016-08-18 08:50:25 -04:00
Carol (Nichols || Goulding)
f7e4ebe9d8 Merge pull request #198 from terrynsun/filenames
Use inline code formatting for filenames.
2016-08-18 08:49:41 -04:00
Yoshito Komatsu
334a040a1b Fix a typo 2016-08-18 07:33:01 +00:00
Terry Sun
0a41518f59 Use inline code formatting for filenames. 2016-08-18 01:35:29 -04:00
Clemens Wehrmann
f44330d3fb Add a script that writes out links inline for printing
Closes #185
2016-08-16 23:21:23 +02:00
Carol (Nichols || Goulding)
99421b09da Don't mix code and not-code in one word 2016-08-16 09:57:20 -04:00
Carol (Nichols || Goulding)
4fc06d9ab8 Merge pull request #193 from k4rtik/patch-1
Update byte example to match the text
2016-08-16 09:30:07 -04:00
Carol (Nichols || Goulding)
8a265a68fc Remove some multiple newlines 2016-08-16 09:19:11 -04:00
Kartik Singhal
e28436aa00 Update byte example to match the text 2016-08-15 17:45:36 -07:00
Aleksei Voronov
cfabd86e21 Add a script that concatenates chapters into one file
Closes #183
2016-08-16 00:40:12 +03:00
Carol (Nichols || Goulding)
85fd039271 Fix the merge I messed up 2016-08-10 19:46:32 -04:00
Carol (Nichols || Goulding)
37575e7b21 Install mdbook from git to get the exit status fix 2016-08-10 19:33:21 -04:00
Carol (Nichols || Goulding)
514017dbac Add the travis build image to the readme 2016-08-10 19:30:49 -04:00