Commit Graph

1245 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
4335bd5e93 Merge pull request #394 from kiliankoe/patch-1
Remove redundant duplicate 'can'
2017-01-17 22:36:01 -05:00
Krasimir Berov
255b44b409 missing "is" 2017-01-14 13:13:05 +01:00
K900
aa1801d99c Possibly clearer wording
Inspired by [this Reddit post](https://www.reddit.com/r/rust/comments/5nmjq3/can_someone_please_help_me_get_rust_going_in/) - "replace" is kind of confusing there, so make it clearer by explicitly telling the reader to run a different command.
2017-01-13 01:40:01 +03:00
Kilian Koeltzsch
4b45e8409e Fix code example compile error due to missing use 2017-01-12 22:01:41 +01:00
Carol (Nichols || Goulding)
2f89173cd5 Move macros to an appendix 2017-01-11 14:06:42 -05:00
Krasimir Berov
cc053d91f4 details in error E0382 changed over time 2017-01-10 23:31:37 +01:00
Kilian Koeltzsch
4e62d9774e Remove redundant duplicate 'can' 2017-01-10 18:41:14 +01:00
Carol (Nichols || Goulding)
7328b60b62 Merge pull request #393 from cvubrugier/master
Fix two spelling errors in chapter 7
2017-01-09 12:05:15 -05:00
Carol (Nichols || Goulding)
27cca5a493 Ship Chapter 14 - Cargo and Crates.io - to No Starch 2017-01-09 12:00:00 -05:00
Carol (Nichols || Goulding)
314ea6542c Merge remote-tracking branch 'origin/cargo-and-cratesio' 2017-01-09 11:56:45 -05:00
Carol (Nichols || Goulding)
53843d00b1 Split ch14 into subchapter files 2017-01-09 11:55:10 -05:00
Carol (Nichols || Goulding)
4a96411957 Add a line about not replacing system packages 2017-01-09 11:37:01 -05:00
Christophe Vu-Brugier
748d8404d2 Fix two spelling errors in chapter 7
Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
2017-01-09 13:58:00 +01:00
Carol (Nichols || Goulding)
da18e98e94 Merge pull request #392 from spastorino/compiler_do_not_execute_code
The compiler doesn't execute at runtime
2017-01-08 21:07:09 -05:00
Santiago Pastorino
784a3ec5e8 The compiler doesn't execute at runtime 2017-01-08 21:56:12 -03:00
Carol (Nichols || Goulding)
84f57f5820 Merge pull request #390 from aaaxx/hyphens-and-dashes
Replace double & triple hyphens with em dashes
2017-01-08 16:59:45 -05:00
Carol (Nichols || Goulding)
e5711d1165 Merge pull request #391 from kberov/mean-redundand
"mean" is redundand
2017-01-08 16:57:29 -05:00
Krasimir Berov
b0fab378c9 "mean" is redundand 2017-01-07 21:43:20 +01:00
Carol (Nichols || Goulding)
52b7fcbfdd Fix spelling errors!!! 2017-01-07 10:34:30 -05:00
aaaxx
61e9710d85 Update ch10-03-lifetime-syntax.md 2017-01-07 06:43:42 +01:00
aaaxx
c88e602b7b Update ch09-03-to-panic-or-not-to-panic.md 2017-01-07 06:27:03 +01:00
aaaxx
871ebab8df Update ch09-02-recoverable-errors-with-result.md 2017-01-07 06:18:06 +01:00
Carol (Nichols || Goulding)
a360c3d781 Merge pull request #389 from aaaxx/patch-2
Fix missing word
2017-01-06 20:02:36 -05:00
Carol (Nichols || Goulding)
ee52574f86 Merge pull request #388 from lucis-fluxum/type-mismatch
Fix a pesky type error
2017-01-06 20:02:05 -05:00
Carol (Nichols || Goulding)
10b6f14cc0 Merge pull request #387 from lucis-fluxum/string-internals
Use a `String` when explaining internal representation
2017-01-06 20:01:06 -05:00
Carol (Nichols || Goulding)
7efe15b9be Merge remote-tracking branch 'origin/pr/384' 2017-01-06 19:49:21 -05:00
Carol (Nichols || Goulding)
c9fd8eb1da More argument/parameter clarifications 2017-01-06 19:45:31 -05:00
Carol (Nichols || Goulding)
1e8dae5385 Add an explanation of parameter vs argument 2017-01-06 17:52:52 -05:00
Carol (Nichols || Goulding)
9c8014cdcd Merge remote-tracking branch 'origin/pr/383' 2017-01-06 17:42:39 -05:00
Carol (Nichols || Goulding)
d5d21db628 Make some tweaks to brson's edits 2017-01-06 17:17:55 -05:00
Carol (Nichols || Goulding)
09c11691d3 Merge remote-tracking branch 'origin/pr/371' 2017-01-06 17:12:16 -05:00
aaaxx
a407734bc4 Fix missing word 2017-01-06 13:16:14 +01:00
Carol (Nichols || Goulding)
e90a808a7e Fixing or adding spellings 2017-01-05 21:28:40 -05:00
Carol (Nichols || Goulding)
dc0d00215f Making some revisions 2017-01-05 20:07:30 -05:00
Luc Street
ba7b12f2b0 Fix a pesky type error
```
error[E0308]: mismatched types
  --> src/ch08-03-hash-maps.md:44:15
   |
44 | keys of type `&str` and values of type `i32`. Like vectors, hash maps are
   |               ^ expected struct `std::string::String`, found &str
   |
   = note: to fix, merge this pull request
```
2017-01-03 19:10:26 -08:00
Luc Street
6a02662ea2 Use a String when explaining internal representation
- Line 259 refers to the `Vec` storing the string "Hola", but this isn't true for the examples using a `&'static str`
- Use `String::from` to demonstrate the use of the wrapper around `Vec<u8>`
2017-01-03 18:33:31 -08:00
Luc Street
b530e465f3 Tighten up concatenation function a bit 2017-01-02 22:44:45 -08:00
Luc Street
77370c0736 Change 'argument' to 'parameter' in a few places
Source: http://stackoverflow.com/a/156787
- Make a couple consequent edits for clarity/phrasing
2017-01-02 12:48:21 -08:00
Carol (Nichols || Goulding)
8e11255af5 Fix file paths to match convention 2016-12-30 13:16:42 -05:00
Carol (Nichols || Goulding)
938ed6519a Fix typos, add words to dictionary 2016-12-30 13:15:55 -05:00
Carol (Nichols || Goulding)
2d32840aae Update chapter reference. Fixes #376. 2016-12-30 12:54:05 -05:00
Carol (Nichols || Goulding)
901aa3d788 Fix code examples and output 2016-12-30 12:43:26 -05:00
Carol (Nichols || Goulding)
1a7c4764e7 Improving code examples 2016-12-30 11:39:07 -05:00
Carol (Nichols || Goulding)
87dede1cb0 Merge remote-tracking branch 'origin/master' into cargo-and-cratesio 2016-12-29 14:30:33 -05:00
Carol (Nichols || Goulding)
69447b8633 Merge pull request #372 from aaaxx/patch-1
Fix reference to wrong figure
2016-12-29 14:14:19 -05:00
Carol (Nichols || Goulding)
2d886dad20 Ship Chapter 12 I/O Project to nostarch 2016-12-29 10:40:14 -05:00
Carol (Nichols || Goulding)
9687722e61 Merge remote-tracking branch 'origin/io-project' 2016-12-29 10:36:23 -05:00
Carol (Nichols || Goulding)
c8b6fad1ba Space needed before curly braces 2016-12-29 10:36:07 -05:00
Carol (Nichols || Goulding)
469ace636c Make the paragraph about whether it's worth it to use clone into a box 2016-12-29 10:34:52 -05:00
Carol (Nichols || Goulding)
30550a8365 Don't mention the next function since we don't use it 2016-12-29 10:31:49 -05:00