Commit Graph

691 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
f72a9f7b69 Ooops this was wrong 2016-09-26 18:47:51 -04:00
Carol (Nichols || Goulding)
e62cc12835 Wrap to 80, oops 2016-09-26 18:32:34 -04:00
Carol (Nichols || Goulding)
4eb3b6271c Forward reference to enum and trait object chapters 2016-09-26 18:31:57 -04:00
Carol (Nichols || Goulding)
0812f3a0e2 Fill in some chapter numbers we know now 2016-09-26 15:26:35 -04:00
Carol (Nichols || Goulding)
6bef3b89cf Small wording tweaks, mostly removing 'you' 2016-09-26 15:17:25 -04:00
Carol (Nichols || Goulding)
b168c614a2 Talk about how dropping of a Vec affects references into the vec
More explicitly than the adding-while-reading example.
2016-09-26 14:19:48 -04:00
Carol (Nichols || Goulding)
dcccf74b80 Bump in headings a level 2016-09-26 14:08:25 -04:00
Carol (Nichols || Goulding)
50acc06a9b Round off Strings section
- I think I finally get why there's no indexing but there is slicing
- Show what you're actually supposed to do with chars and bytes
- Summarize and transition
2016-09-26 14:05:44 -04:00
Carol (Nichols || Goulding)
be6a7d55a6 Add a chapter summary 2016-09-26 12:53:42 -04:00
Carol (Nichols || Goulding)
0dbadf53af Only say 'remainder', not 'modulo'
Fixes #269. See
http://stackoverflow.com/questions/13683563/whats-the-difference-between-mod-and-remainder/13683709#13683709

In Rust, `-21 % 4` results in -1.
2016-09-26 11:14:02 -04:00
Carol (Nichols || Goulding)
03f40bc81d Merge pull request #268 from 0xmohit/i8-upper-bound
fix upper bound for i8
2016-09-25 10:38:09 -04:00
Mohit Agarwal
c21c0d945e
fix upper bound for i8 2016-09-25 19:37:19 +05:30
Carol (Nichols || Goulding)
a929b91341 Redo Method Syntax with the Rectangle example 2016-09-23 22:26:33 -04:00
Carol (Nichols || Goulding)
d91a364fdb The rectangle is Rectangle looked strange 2016-09-23 17:22:00 -04:00
Carol (Nichols || Goulding)
228f172e00 Long inline code wraps strangely; go back to code blocks 2016-09-23 15:34:12 -04:00
Carol (Nichols || Goulding)
c274db25c4 Add some notes to Liz 2016-09-23 15:34:00 -04:00
Carol (Nichols || Goulding)
0203adfaea Small wording changes that sounded funny on the next readthrough 2016-09-23 15:33:36 -04:00
Carol (Nichols || Goulding)
bdcddf29a7 Add units to the output 2016-09-23 15:32:02 -04:00
Carol (Nichols || Goulding)
cf9e0a8ae7 Hide newline in code example 2016-09-23 15:31:07 -04:00
Carol (Nichols || Goulding)
9ef3fece67 Change double quotes to italics 2016-09-23 15:30:51 -04:00
Carol (Nichols || Goulding)
1879ce7a6b Fix code example errors 2016-09-23 14:44:53 -04:00
Carol (Nichols || Goulding)
6e15a5c02c Rework struct example to be simpler 2016-09-23 13:51:06 -04:00
Carol (Nichols || Goulding)
25e3cf2a6f Ship chapter 3 revisions to nostarch 2016-09-21 11:06:09 -04:00
Carol (Nichols || Goulding)
a06f47c4ce Update error message 2016-09-21 11:06:09 -04:00
Carol (Nichols || Goulding)
0af7c040d9 We know what chapter this will be, pretty sure 2016-09-21 11:06:08 -04:00
Carol (Nichols || Goulding)
51b49df791 Ooops spurious square bracket 2016-09-21 11:06:08 -04:00
Carol (Nichols || Goulding)
aeb7274bd0 Merge pull request #264 from rust-lang/ch3-edits
Ch3 edits
2016-09-21 10:48:56 -04:00
Carol (Nichols || Goulding)
e9992f6034 Address steve nits 2016-09-21 10:04:30 -04:00
Carol (Nichols || Goulding)
4265d6b465 Don't get into Copy trait just yet; shhhhh
Fixes #260.
2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
4670d5456e Talk about values each size of integer can hold
Fixes #259.
2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
a968f7e66e Expand on why if and else have to return the same type 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
e5b7f5465f Make the if/else if example more illustrative of behavior
Basically prove that it stops trying `else if` conditions after it finds
the first true one by having multiple true conditions be possible.
2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
0c81972ebc Clarify arrays; give an example of using one 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
09762a360d Clarify tuples and that the types are optional here 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
17da2c95a2 Remove not-so-helpful links to unicode; reference strings section 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
0148504de4 Add a reference to a theoretically existing chapter on benchmarking 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
af60a59f67 Resolve question and demonstrate type anns being required 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
23964f4254 Spend more time clarifying what's different about shadowing 2016-09-20 22:10:02 -04:00
Carol (Nichols || Goulding)
519228aefd Hide nostarch marks for our web view
I'll put these back before sending.
2016-09-20 22:10:01 -04:00
Carol (Nichols || Goulding)
2d72ad320a Apply edits from Liz that I like 2016-09-20 22:10:01 -04:00
Carol (Nichols || Goulding)
ccd4dcf178 More edits and some TODOs for strings 2016-09-19 22:37:06 -04:00
Carol (Nichols || Goulding)
00e5b22d9e Remove irrelevant space special casing
I think this confuses more than helps.
2016-09-19 12:44:32 -04:00
Carol (Nichols || Goulding)
9ba5bb3690 Make the filename and header more consistent 2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
99fc51d848 Edits and additions to HashMap 2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
1da1e810d2 I'd rather explain _ than 'static at this point tbh 2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
854614fc29 Wording edits for strings 2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
8f1b922945 Make headings consistent with each other
And title cased, and more descriptive
2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
a417244d98 Edits to Vec - be more specific, update error messages 2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
f80bccaa64 Renaming files to match currently planned chapter order 2016-09-19 12:42:27 -04:00
Carol (Nichols || Goulding)
cd5517b8a0 Remove double error handling from summary 2016-09-19 12:42:27 -04:00