Commit Graph

1466 Commits

Author SHA1 Message Date
Boris Egorov
e35482fb82 chapter3: Fix multiple-argument functions signatures 2016-06-30 17:49:08 +06:00
Carol (Nichols || Goulding)
7470b4c17e Hide a newline in a code example with hidden code
This looks nicer.

Connects to #106.
2016-06-29 22:08:50 -06:00
Carol (Nichols || Goulding)
7027c996c9 Change type from u32 to u8 to match IPv4 spec
Each segment of an ipv4 address can only be 0-255, so each of the
segments only need to be u8s.

If, however, this was done to not have to explain the difference between
u32 and u8, or if this would be distracting from the point about enums
trying to be made here, I would be fine reverting this change.
2016-06-29 19:10:22 -06:00
Carol (Nichols || Goulding)
5b6fb9d2c4 Fix messed up rename 2016-06-27 15:43:43 -06:00
Carol (Nichols || Goulding)
475ecc7679 Rename files to match the nostarch structure more closely 2016-06-27 15:35:52 -06:00
Carol (Nichols || Goulding)
54c47de023 Merge pull request #95 from justsostephen/master
Spelling correction and revised wording.
2016-06-27 17:31:59 -04:00
Carol (Nichols || Goulding)
5f39fe96bd Merge pull request #91 from Chris-O-Neill/master
Updated pronouns and rustup.sh output in installation.md.
2016-06-27 17:28:08 -04:00
Carol (Nichols || Goulding)
54d6e14adc Merge pull request #86 from xtian/patch-1
copy -> move
2016-06-27 17:18:36 -04:00
Carol (Nichols || Goulding)
23d375b35c Merge pull request #99 from lukelafountaine/master
remove extraneous and potentially confusing variable declaration
2016-06-27 17:16:40 -04:00
Steve Klabnik
e6d992262b send chapter 5 and 6 to no starch 2016-06-03 10:30:35 -04:00
Stephen Mather
2769833a97 installation.md: Corrected spelling of 'internet'. 2016-06-01 21:25:08 +01:00
Stephen Mather
d5b2189dea hello-world.md: Removed references to creating a new executable from 'Converting to Cargo'. 2016-06-01 21:10:12 +01:00
Steve Klabnik
8c5098f65b Merge pull request #105 from rust-lang/enums-match
Enums: other stuff
2016-05-31 15:14:08 -04:00
Steve Klabnik
ef77b20f9d address some feedback 2016-05-31 15:13:50 -04:00
Steve Klabnik
dbb4cdcc03 Merge pull request #104 from rust-lang/structs-generics
Draft: generics section of structs chapter
2016-05-31 14:57:45 -04:00
Steve Klabnik
da6df3af0b Address some feedback 2016-05-31 14:54:39 -04:00
steveklabnik
1227640bc0 second half 2016-05-19 17:46:33 -04:00
steveklabnik
f23e4b3d5a First bit of sub-chapters of enums 2016-05-19 16:29:46 -04:00
steveklabnik
54d3dc1059 Add windows vim temp files to .gitignore 2016-05-19 16:29:25 -04:00
steveklabnik
6504e399f8 Draft: generics section of structs chapter
A light introduction to syntax.
2016-05-19 14:35:20 -04:00
Luke LaFountaine
5b89e40a07 remove extraneous and potentially confusing variable declaration 2016-05-14 20:13:03 -07:00
Steve Klabnik
747245682d Merge pull request #98 from rust-lang/enums
First draft of enums
2016-05-13 16:54:29 -04:00
Steve Klabnik
08579a3d80 First draft of enums 2016-05-06 16:20:57 -04:00
Steve Klabnik
789fe48d8d test the trains only 2016-05-06 15:53:57 -04:00
Steve Klabnik
6bb5c6ac76 Update README to remove issue labels
This system wasn't as useful as I'd hoped.
2016-05-06 14:58:36 -04:00
Chris O'Neill
3e8117319e Updated pronouns for consistency and clarity. 2016-04-10 12:53:30 +01:00
Chris O'Neill
f5f645231b Update output of rustup.sh install script. 2016-04-10 12:49:12 +01:00
Steve Klabnik
568742e949 Merge pull request #89 from uraza/master
move should be used instead of mv on Windows
2016-03-31 09:25:20 -07:00
Jeremy 0
ab84970b33 move should be used instead of mv on Windows 2016-03-31 09:01:49 +02:00
Christian Wesselhoeft
d0fb44ec2d copy -> move 2016-03-27 12:17:17 -06:00
Steve Klabnik
3437fca04d ship chapter 4 to nostarch 2016-03-25 10:10:45 -04:00
Steve Klabnik
61194c7b8f Merge pull request #70 from rust-lang/method_syntax
First draft: method syntax
2016-03-24 14:21:15 -04:00
Steve Klabnik
2bb8546a32 Merge pull request #83 from clemensw/slices_suggestions
Notes on slices.md
2016-03-10 00:34:14 +03:00
Clemens Wehrmann
5205a78f2a More clear to me than 'maximum value'.
Difficult talking about elements since array slices are discussed later and
Strings have confusing elements (byte/char).
2016-03-09 22:16:14 +01:00
Clemens Wehrmann
a90ac1e0ca Something (perhaps not this) should be said about the syntax. 2016-03-09 22:16:14 +01:00
Clemens Wehrmann
592c518fb6 Example is less confusing if the assignments align content with identifiers 2016-03-09 22:16:14 +01:00
Steve Klabnik
080657796f slightly more clear language 2016-03-09 10:51:11 -05:00
Steve Klabnik
cf1c7cb590 more edits 2016-03-09 10:40:13 -05:00
Steve Klabnik
50ad1c3d07 Merge pull request #81 from golddranks/master
Made images high-DPI-compatible.
2016-03-09 14:28:42 +03:00
Steve Klabnik
1212e197a3 first round of comments 2016-03-02 15:05:00 -05:00
Clemens Wehrmann
848cb75440 Potentially surprising change to element not in focus without commentary.
This is the only example where the slice starts from '1'.  Since the focus here is on the last element I would avoid making readers wonder about the significance of the change to the first element, or at least remoark on it in the text.
2016-03-02 19:15:22 +01:00
Pyry Kontio
2787481310 Made images high-DPI-compatible. 2016-02-29 03:07:06 +09:00
Steve Klabnik
076f98375e Merge pull request #78 from Mark-Simulacrum/remove-space
Remove trailing spaces from all src files.
2016-02-17 12:30:44 -05:00
Mark Simulacrum
3614ecf475 Re-add the whitespace to the poem.
CommonMark considers two trailing whitespaces to be significant,
adding a line break.
2016-02-17 10:26:41 -07:00
Mark Simulacrum
39e547dc68 Remove trailing spaces from all src files. 2016-02-16 22:43:13 -07:00
Steve Klabnik
7041e6346e make this a little more clear
this was kind of repeating itself
2016-02-15 11:43:47 -05:00
Steve Klabnik
ece63e46ea Merge pull request #72 from JakeBjorke/getting-started-type-o
Update installation.md
2016-02-05 21:52:22 -05:00
Jake Bjorke
48abc86638 Update installation.md 2016-02-05 17:31:36 -06:00
Steve Klabnik
441a896bdb First draft: method syntax 2016-02-04 14:57:48 -05:00
Steve Klabnik
23de3e8055 Link 'references and borrowing' 2016-02-04 12:23:18 -05:00