Commit Graph

1530 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
c56d76de65 We did see namespaces a bit, in ownership with String::from 2016-07-21 21:50:45 -04:00
Carol (Nichols || Goulding)
507a668cb0 I'm not sure what Pythagoras did to Steve, buuuut
This actually could use a bit of stating in words, imo. And I don't feel
like we need to repeat the function so close to the original code
containing it.
2016-07-21 21:50:12 -04:00
Carol (Nichols || Goulding)
f7103f86b3 Give structs a bit more motivation
they deserve it
2016-07-21 21:01:42 -04:00
Carol (Nichols || Goulding)
ec3939fb73 Removing a statement I don't think is true
tuples?
2016-07-21 20:42:26 -04:00
Carol (Nichols || Goulding)
8730203bff "Long enough" could be ambiguous in this case
We get to use underscores in variable bindings once we have a year's
experience with them or?
2016-07-18 22:27:47 -04:00
Carol (Nichols || Goulding)
1cf14f2baf I'm not sure why compound type inside compound type is relevant here 2016-07-18 22:17:12 -04:00
Carol (Nichols || Goulding)
7710118f4e Change -- to : 2016-07-18 22:15:11 -04:00
Carol (Nichols || Goulding)
6762e758a8 Remove a comment from technical review I forgot to delete 2016-07-18 22:12:14 -04:00
Carol (Nichols || Goulding)
b91d343b67 Remove 'in Rust' from the data types section title
Since the whole chapter has "in Rust" in the title.

"But isn't the whole book 'in Rust'?" I hear you asking. Well, yes, but
this chapter is about programming concepts that exist in other languages
and how you do them in Rust. Totes approps imo.
2016-07-18 22:10:19 -04:00
Carol (Nichols || Goulding)
8f7600ca13 Correcting a table caption since we changed the chapter numbers 2016-07-18 22:09:46 -04:00
Carol (Nichols || Goulding)
944e6cc2b9 Put back SOME of the let binding stuff about patterns
Since it's referred to later. Gloss over a bit more than it was before
though.
2016-07-18 21:49:58 -04:00
Carol (Nichols || Goulding)
113438d10d Add a transition from variable bindings to data types 2016-07-18 21:44:10 -04:00
Carol (Nichols || Goulding)
c43807117d Correct the intro paragraph of bindings since stuff was removed 2016-07-18 21:42:46 -04:00
Carol (Nichols || Goulding)
9d6b83c64e Remove reference to... references that is now behind us 2016-07-18 21:39:57 -04:00
Carol (Nichols || Goulding)
b540f35118 Removing a reference that I don't think adds much 2016-07-18 21:39:29 -04:00
Carol (Nichols || Goulding)
5b94ec1bb6 Add a reference now that ownership discusses scope
This now isn't the first time you should have seen this if you're
reading in order.
2016-07-18 21:33:18 -04:00
Carol (Nichols || Goulding)
679475e784 Cut some more non-essential sections 2016-07-18 21:30:58 -04:00
Carol (Nichols || Goulding)
1512bba8c4 Avoid using phrases like 'of course' 2016-07-18 20:46:46 -04:00
Carol (Nichols || Goulding)
d1a8fc5e82 Remove some details that aren't essential to know at this point 2016-07-18 20:46:01 -04:00
Carol (Nichols || Goulding)
f0ab249c32 Correct a reference since functions isn't the next section 2016-07-18 20:37:01 -04:00
Carol (Nichols || Goulding)
892a44cc7e Move keywords to an appendix 2016-07-18 20:34:52 -04:00
Carol (Nichols || Goulding)
fe717e26d4 Rework ch 4 intro given that it's later in the book now
Is the first paragraph too repetitive?
2016-07-18 20:24:02 -04:00
Carol (Nichols || Goulding)
bf7971b392 Give ch 4 a better title
We've been up and running for a bit, now that we have the tutorial and
ownership chapters before this one.
2016-07-18 20:23:59 -04:00
Carol (Nichols || Goulding)
4328912686 Rename files to better match mdbook generated sidebar numbering
I have had off-by-one errors when I'm talking to people and looking at
the file names, but they're looking at the sidebar in the generated
output, since the first section in a chapter doesn't get a number in the
sidebar, and the second section in a chapter gets named x.1, etc.

Just wait til I try to name cache invalidation.
2016-07-18 19:42:44 -04:00
Carol (Nichols || Goulding)
3a90e160d7 Remove placeholders 2016-07-18 19:34:05 -04:00
Carol (Nichols || Goulding)
ec7485575d 3 is 4. 4 is 3. War is peace. Freedom is slavery. Ignorance is strength. 2016-07-18 19:30:52 -04:00
Carol (Nichols || Goulding)
f5e49624d8 Hopefully clarify string slice syntax vs internal representation
Fixes #107.
2016-07-15 14:04:29 -04:00
Carol (Nichols || Goulding)
0c9c7637e8 Fix forward/backward references 2016-07-15 14:04:10 -04:00
Carol (Nichols || Goulding)
29943118d0 f with corrections 2016-07-15 13:33:15 -04:00
Carol (Nichols || Goulding)
ad4a6b6891 Replace teaser of more examples with segue to slices 2016-07-15 12:33:20 -04:00
Carol (Nichols || Goulding)
50e477381f Wording, spelling, whitespace, and punctuation corrections 2016-07-15 12:32:06 -04:00
Carol (Nichols || Goulding)
c2c744b4a5 'from' and 'to' are problematic with references, try to avoid :-/
I would actually say "reference to s1" here, but I think this is trying
to say "create a reference out of s1" but that sounds like you don't
have s1 anymore since you turned it into something else and urgh am I
overthinking this?
2016-07-15 12:32:06 -04:00
Carol (Nichols || Goulding)
23d4435073 Move this comment to the first time we use push_str() 2016-07-15 12:32:06 -04:00
Carol (Nichols || Goulding)
463c53597c Merge pull request #135 from antmak/patch-1
Fix typo
2016-07-15 12:11:20 -04:00
antmak
0d71ea901e Fix typo 2016-07-15 12:38:31 +07:00
Carol (Nichols || Goulding)
5fb35bac81 Finish the sentence with some help from steve 2016-07-14 18:12:08 -04:00
Carol (Nichols || Goulding)
331e24b03f Reference corrections 2016-07-14 18:07:06 -04:00
Carol (Nichols || Goulding)
ba7bff20ae Wording, spelling, whitespace, and punctuation corrections 2016-07-14 18:07:06 -04:00
Carol (Nichols || Goulding)
252f73b0d4 Don't confuse namespace scope with lexical scope right now 2016-07-14 16:19:43 -04:00
Carol (Nichols || Goulding)
ffd50bcda5 Wording, spelling, whitespace, and punctuation corrections 2016-07-14 16:19:43 -04:00
Carol (Nichols || Goulding)
72ec43263b Fix references that are now invalid with the rearranging 2016-07-14 16:19:43 -04:00
Carol (Nichols || Goulding)
35bb02632c Hard wrap ch 4 to 80 chars for consistency
hobgoblin
2016-07-14 14:39:07 -04:00
Carol (Nichols || Goulding)
6342080c26 Merge remote-tracking branch 'origin/master' into first-third-try 2016-07-14 14:30:31 -04:00
Carol (Nichols || Goulding)
086d7b473a Merge pull request #133 from 0xmohit/fix_typos
fix typos
2016-07-14 14:22:32 -04:00
Mohit Agarwal
7ae4efaa2f fix typos 2016-07-13 23:10:26 +05:30
Carol (Nichols || Goulding)
da2dd5b09f Remove or change all forward refs to "Chapter XX" 2016-07-12 16:04:18 -04:00
Carol (Nichols || Goulding)
60c9abaf39 Fix the levels of some of the headings 2016-07-12 15:51:41 -04:00
Carol (Nichols || Goulding)
64eb26fb02 Update cargo output 2016-07-12 15:50:22 -04:00
Carol (Nichols || Goulding)
7e85e67d11 Clarify semver paragraphs a bit 2016-07-12 15:49:57 -04:00
Carol (Nichols || Goulding)
0cf529ac69 Update rand crate version used to the current latest 2016-07-12 15:49:57 -04:00