Commit Graph

1593 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
3a2b0ea7bd Remove spans around captions as well as around filenames 2017-03-29 15:36:48 -04:00
Carol (Nichols || Goulding)
22dcb1da61 Merge pull request #481 from rust-lang/ch17-oop
Chapter 17: OOP
2017-03-29 15:35:53 -04:00
Carol (Nichols || Goulding)
31501c1d4a Generate the nostarch version of chapter 12 2017-03-29 15:00:24 -04:00
Carol (Nichols || Goulding)
b1c4de2a1a Merge pull request #576 from rust-lang/ch12-edits
Ch12 edits
2017-03-29 14:34:45 -04:00
Carol (Nichols || Goulding)
1f432fc231 Changing title 2017-03-29 14:02:17 -04:00
Carol (Nichols || Goulding)
0377552b16 Merge pull request #578 from adammartinez271828/feature/am-traits-fix
Feature/am traits fix
2017-03-29 10:48:35 -04:00
Carol (Nichols || Goulding)
aefeeb6794 Spellings 2017-03-29 10:47:48 -04:00
Carol (Nichols || Goulding)
872dc793f7 Clarify our note on what a short object safety section might look like 2017-03-29 10:45:56 -04:00
Carol (Nichols || Goulding)
c495cd2f65 Reminder to try the change in requirements too 2017-03-29 10:37:00 -04:00
Carol (Nichols || Goulding)
03f8c57106 Add example showing how to make invalid states impossible 2017-03-29 10:34:11 -04:00
Carol (Nichols || Goulding)
cc7d689727 Swap the struct name in the dictionary too 2017-03-29 09:15:03 -04:00
Carol (Nichols || Goulding)
46334522e2 Add prod directives 2017-03-28 21:22:09 -04:00
Carol (Nichols || Goulding)
65682e3b4f Switch "count" to "average" to avoid duplicating a method Vec has 2017-03-28 21:21:50 -04:00
Carol (Nichols || Goulding)
d27440822c Merge pull request #577 from rust-lang/whatcha-think-carol
more than one polymorphism
2017-03-28 21:08:17 -04:00
Adam Martinez
47f4de574d Rename normal and inverse functions
For improved clarity.
2017-03-28 19:26:21 -04:00
Adam Martinez
aecb6abab4 Fix normal function call signature
The normal function should not take a reference to an i32, since the inverse function does not take a reference to T.

Giving these functions identical call signatures improves clarity, and it makes more sense to pass integers normally than by reference.
2017-03-28 19:22:31 -04:00
steveklabnik
258ca58ddd more than one polymorphism 2017-03-28 15:47:11 -04:00
Carol (Nichols || Goulding)
91ff25e96d Merge pull request #573 from evuez/backtrace-with-line-numbers
Add line numbers to the backtrace in 9.1
2017-03-28 15:16:57 -04:00
evuez
e26bb338ab Add line numbers to the backtrace in 9.1
This should fix #497.
2017-03-28 20:53:30 +02:00
Carol (Nichols || Goulding)
93ed91446e Move comma inside 2017-03-28 14:43:11 -04:00
Carol (Nichols || Goulding)
2abee8f0e8 Edits in response to matthewjasper's comments 2017-03-28 14:43:11 -04:00
Carol (Nichols || Goulding)
b322f1c8b9 Fix spellings, of course :) 2017-03-28 14:43:10 -04:00
Carol (Nichols || Goulding)
55ccdbaefe Ugh? maybe? 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
739e676345 Start state pattern example 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
759801361b Split up into sections 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
0305e796f1 Leave notes asking Liz what to do about this section 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
6cdb18322f Fix spelling 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
492609a9dd Fix something around enable 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
703d5994f4 More rearranging and fixing and fleshing out 2017-03-28 14:42:39 -04:00
Carol (Nichols || Goulding)
a284ec7808 Mention & creates trait objects too 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
f988fbabec Add a missing rust annotation 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
4e693aeaf1 Remove specialization 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
f5ba063243 Tweak header 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
d15ee5bd09 Justify why Rust doesn't have inheritance a bit more 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
6777cde421 hold -> have 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
6c24544ba7 A different direction 2017-03-28 14:42:38 -04:00
Carol (Nichols || Goulding)
2b277664d3 spelling 2017-03-28 14:42:37 -04:00
Steve Klabnik
aa2366e7aa oop whatever 2017-03-28 14:42:37 -04:00
Carol (Nichols || Goulding)
b8e4fcbf28 Fix tests :( 2017-03-28 14:17:51 -04:00
Carol (Nichols || Goulding)
d09cfb51a2 Spelling, of course :) 2017-03-28 12:43:40 -04:00
Carol (Nichols || Goulding)
ce02155a4b Add a note about using std::env::args_os if needed
Fixes #378.
2017-03-28 12:29:58 -04:00
Carol (Nichols || Goulding)
394c405278 Use env::var instead of iterating over env::vars
Fixes #418.
2017-03-28 12:29:58 -04:00
Carol (Nichols || Goulding)
7737c91346 Edits to chapter 12 in response to nostarch feedback 2017-03-28 12:29:58 -04:00
Carol (Nichols || Goulding)
5fb63b2598 Merge pull request #574 from evuez/consistent-directory-separators
Replace backward slashes with forward slashes in chapter 12
2017-03-28 12:25:50 -04:00
Steve Klabnik
7ff2010eba Merge pull request #572 from caizixian/master
Add a link to a Rust related paper
2017-03-28 09:07:06 -04:00
evuez
f37ca0bbbe Replace \ with / in chapter 12
It looks like the author of this chapter used Windows to run his code so
paths use backward slashes instead forward slashes.
Other chapters seems to use forward slashes so I thought it might be
better to keep it that way.
2017-03-28 11:04:39 +02:00
Ivan Cai
505a465667 Add link to “Rust as a Language for High Performance GC Implementation” to bibliography 2017-03-28 15:57:08 +11:00
steveklabnik
a2c56870d4 Add license to stable-check
so this passes upstream tidy
2017-03-27 17:38:57 -04:00
Steve Klabnik
fcabe433db Merge pull request #571 from nrc/attrs
Update .gitattributes to treat docx and odt files as binaries
2017-03-27 16:03:45 -04:00
Nick Cameron
0aa6ba1a00 Update .gitattributes to treat docx and odt files as binaries 2017-03-28 08:26:42 +13:00