Commit Graph
945 Commits
Author SHA1 Message Date
Carol (Nichols || Goulding) 0859cf22ef Use Literal formatting a bit less for the word "struct"
In these cases, we're using it more as an English concept (that we've
defined) and not a literal keyword.
2016-11-28 09:27:48 -05:00
Carol (Nichols || Goulding) 7d4201afe4 Small wording corrections 2016-11-28 09:27:48 -05:00
Carol (Nichols || Goulding) ce23c0567a Fix spelling errors 2016-11-28 09:27:48 -05:00
Carol (Nichols || Goulding) c8b8846fcf Switch to fancy quotes 2016-11-28 09:27:48 -05:00
Carol (Nichols || Goulding) 402a5404a4 Correct formatting in the odt 2016-11-28 09:27:48 -05:00
Carol (Nichols || Goulding) 299698e3b3 Save chapter 5 as received from nostarch 2016-11-28 09:27:48 -05:00
Carol (Nichols || Goulding) 2067b6e2bf Make the keywords section be a box like it will be in the doc 2016-11-28 09:25:03 -05:00
Carol (Nichols || Goulding) 74d6fc999b Add valid markup for code snippets/filenames/captions
So that we can style these nicer.

Also make all filenames in prose be italics, not code formatting.

Also fix some messed-up listing numbers.
2016-11-28 09:25:03 -05:00
Carol (Nichols || Goulding) 09fe24c7f6 Fix a name we changed but missed a spot
Fixes #336.
2016-11-27 11:29:43 -05:00
Carol (Nichols || Goulding) fbde6631aa Change some lingering uses of bash syntax highlighting to text 2016-11-25 15:24:46 -05:00
Carol (Nichols || Goulding) 9d60b73816 Clarify text about four spaces
Fixes #309.
2016-11-24 21:52:17 -05:00
Carol (Nichols || Goulding) a65c604ca6 Try turning caching back on 2016-11-20 19:07:46 -05:00
Carol (Nichols || Goulding) a516b53fe5 Merge pull request #330 from gypsydave5/patch-1
Small typo
2016-11-20 12:35:55 -05:00
Carol (Nichols || Goulding) 724a8a48a3 Redirect stdout and stderr to /dev/null 2016-11-20 12:30:50 -05:00
David Wickes 4aa8b91c93 Small typo
`IPAddr` to `IpAddr`

Enjoying my readthrough :D
2016-11-20 00:55:36 +00:00
steveklabnik f3475a6652 Make it clear that mod isn't specific to lib.rs
Fixes #328.
2016-11-17 13:12:47 -05:00
Carol (Nichols || Goulding) 3510a9f216 Try not caching for a second 2016-11-16 20:36:36 -05:00
Carol (Nichols || Goulding) efcd32776b Force travis to reinstall mdbook for now
It seems to have cached 0.0.14, but I want to use master?
2016-11-16 20:03:00 -05:00
Carol (Nichols || Goulding) 38c1c09437 Merge remote-tracking branch 'origin/generics' 2016-11-14 14:30:16 -05:00
Carol (Nichols || Goulding) c346df7a56 Rename a function to something other than lifetime to prevent confusion 2016-11-14 14:24:13 -05:00
Carol (Nichols || Goulding) a28ffd668d Swap some emphasis underscores for asterisks 2016-11-14 14:23:18 -05:00
Carol (Nichols || Goulding) f341124f33 Add some filenames and fn mains for clarity 2016-11-14 14:20:35 -05:00
Carol (Nichols || Goulding) 031619a189 Add a bit about lifetime annotations on methods 2016-11-14 13:37:53 -05:00
Carol (Nichols || Goulding) df309071ee Remove a sentence that didn't really say anything 2016-11-14 12:47:33 -05:00
Carol (Nichols || Goulding) e6e56ed7d4 Reword to not say concept 2016-11-14 12:47:01 -05:00
Carol (Nichols || Goulding) 3c38b59ab6 Replace all uses of bash syntax highlighting
Since none of these are actually bash scripts :)

Changed all the instances in the src files to text, which, since my PR
to mdbook got accepted, will still do code background colors but no
syntax highlighting.

Fixes #295 and #327.
2016-11-14 12:18:48 -05:00
Carol (Nichols || Goulding) dbe2c1aa0b Install mdbook from github for the code block fix
Until a new version of mdbook is released, use github that has my fix
that makes all code blocks have hljs so that they have the gray
background.
2016-11-14 12:03:27 -05:00
Carol (Nichols || Goulding) bdc1a88cf7 Missed a language annotation 2016-11-13 17:50:49 -05:00
Carol (Nichols || Goulding) 9d63caa674 Rework lifetime examples 2016-11-13 17:47:54 -05:00
Carol (Nichols || Goulding) aa269b9f61 Revisions prompted by comments from pornel 2016-11-12 14:36:43 -05:00
Carol (Nichols || Goulding) 775fbff97b Fix the tests; clarify that this is just a fn signature 2016-11-12 13:20:45 -05:00
Carol (Nichols || Goulding) f0a27c8762 Some rearranging to Lifetimes, up until "But why?" 2016-11-11 18:13:31 -05:00
Carol (Nichols || Goulding) 5f298bab49 Revise traits, and a little bit in syntax to make names match
A bit of rearranging, a bit cut, changing names so everything isn't
called `print`
2016-11-11 16:42:34 -05:00
Carol (Nichols || Goulding) a035990c05 Revisions to generics syntax, and a bit to the intro too
So i lied
2016-11-11 14:51:20 -05:00
steveklabnik 71d753f59e Finish off lifetime syntax 2016-11-11 13:40:30 -05:00
Carol (Nichols || Goulding) 7a66566d88 Clarify parts of the function extraction example 2016-11-11 11:38:59 -05:00
Carol (Nichols || Goulding) be0bf4a49b Motivate dealing with duplication and relation to generics more
And foreshadow what we'll cover in this chapter.
2016-11-11 11:23:22 -05:00
Carol (Nichols || Goulding) 830c5832fe Clarify a statement about the lifetime elision rules 2016-11-11 11:01:51 -05:00
Carol (Nichols || Goulding) e28b78dc2b Add another question we need to answer 2016-11-11 10:56:42 -05:00
Carol (Nichols || Goulding) befd5f681c Be more precise about when naming lifetimes is required 2016-11-11 10:55:16 -05:00
Carol (Nichols || Goulding) 8da7f922e9 Add explicit outer blocks 2016-11-11 10:51:06 -05:00
Carol (Nichols || Goulding) 63a645dd45 Fixing analogy wording 2016-11-11 10:42:35 -05:00
Carol (Nichols || Goulding) d8eebfcfe1 Be more precise about what's in the prelude 2016-11-11 10:40:31 -05:00
Carol (Nichols || Goulding) 0b18dddb42 Correct code example to illustrate generics 2016-11-11 10:39:04 -05:00
Carol (Nichols || Goulding) 77fc0ed4f7 Add a summary section placeholder 2016-11-10 22:26:31 -05:00
Carol (Nichols || Goulding) 5fa5071c01 Standardize heading formatting
- Bump subsections in a level
- Title case
- Code formatting
2016-11-10 22:26:10 -05:00
Carol (Nichols || Goulding) ab9b43602d Out of context, this indent looks strange 2016-11-10 22:21:24 -05:00
Carol (Nichols || Goulding) 576d613330 Rustfmt this long println 2016-11-10 22:21:02 -05:00
Carol (Nichols || Goulding) 3c884c88f7 Newline between code block and text 2016-11-10 22:19:07 -05:00
Carol (Nichols || Goulding) 2aaaaddfb8 Fix line wrapping 2016-11-10 22:11:17 -05:00