Commit Graph

1017 Commits

Author SHA1 Message Date
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
Carol (Nichols || Goulding)
ce3bb00bdc Ignoring two code examples that should be ignored 2016-11-10 22:07:47 -05:00
Carol (Nichols || Goulding)
08942bab37 Removing trailing whitespace 2016-11-10 22:05:10 -05:00
Carol (Nichols || Goulding)
16930f969a Removing duplicate closures chapter; rebasing made git confused 2016-11-10 22:03:53 -05:00
Steve Klabnik
6190991102 More lifetimes 2016-11-10 22:02:57 -05:00
Steve Klabnik
c7644ce9b5 some work on lifetimes 2016-11-10 22:02:57 -05:00
Carol (Nichols || Goulding)
7dc9bcbe80 Small wording edits 2016-11-10 22:02:57 -05:00
Steve Klabnik
479b254803 Start of generics chapter 2016-11-10 22:02:57 -05:00
Steve Klabnik
dfe2d91dbb Break syntax out into its own chapter
we probably want a better title, idk
2016-11-10 22:02:57 -05:00
Steve Klabnik
c677e23116 get set up 2016-11-10 22:02:57 -05:00
Carol (Nichols || Goulding)
a0d0115765 Merge pull request #326 from rust-lang/question-mark
Use stable in .travis.yml
2016-11-10 18:01:52 -05:00
Carol (Nichols || Goulding)
a08e7fab8f Document the graphviz stuff for my own benefit
So that I don't have to look it up and figure out what I did to get them
to work the last time.
2016-11-10 17:59:12 -05:00
Carol (Nichols || Goulding)
7d41f6caa3 Swap the labels of s1 and s2 in 4-3 to better match 4-2
Fixes #282.
2016-11-10 17:58:24 -05:00
Carol (Nichols || Goulding)
d199e608d8 Clarify that we likely won't change chapters that have gone to layout
Fixes #324.
2016-11-10 17:36:47 -05:00
Carol (Nichols || Goulding)
392a5b066c Rename file to match section heading 2016-11-10 17:05:47 -05:00
Carol (Nichols || Goulding)
89732cc1df Merge remote-tracking branch 'origin/pr/320' 2016-11-10 17:03:59 -05:00
Carol (Nichols || Goulding)
a97e5a81d5 Merge pull request #325 from rust-lang/const
Add a section about const
2016-11-10 16:57:24 -05:00
Carol (Nichols || Goulding)
04aa2cd854 Fixing steve nits 2016-11-10 16:12:23 -05:00
Steve Klabnik
facbc69009 Remove question_mark feature 2016-11-10 15:19:49 -05:00
Steve Klabnik
f788204255 Use stable in .travis.yml
question mark has landed
2016-11-10 15:18:19 -05:00
Carol (Nichols || Goulding)
be4c25170c Add a section about const 2016-11-09 20:27:26 -05:00
Carol (Nichols || Goulding)
f763110a66 Some code in the doc didn't have the same breathing room 2016-11-09 16:31:59 -05:00
Carol (Nichols || Goulding)
2c34e8b073 Error messages don't have fancy quotes 2016-11-09 16:31:59 -05:00
Carol (Nichols || Goulding)
268ed1008b Back/forward porting changes from the odt to the nostarch and src text 2016-11-09 16:21:25 -05:00
Carol (Nichols || Goulding)
c2cb6e0c22 Remove eddyb's comments 2016-11-09 15:39:23 -05:00
Carol (Nichols || Goulding)
270c794cdf Make changes from #322 in the odt 2016-11-09 15:34:30 -05:00
Carol (Nichols || Goulding)
f2c687dd88 Making some more edits as a result of discussion 2016-11-09 15:18:25 -05:00
Carol (Nichols || Goulding)
aceb7d00e5 Transferring eddyb's comments to markdown for ease of discussion 2016-11-09 15:18:25 -05:00
Carol (Nichols || Goulding)
144a6c6311 Some further revisions 2016-11-09 15:18:25 -05:00