Commit Graph

4539 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
ca2056ec99 Clarify sentences about lock types. Fixes #2937. 2022-05-01 20:14:55 -04:00
Carol (Nichols || Goulding)
6fa3a5e9a3 Edits to edits to chapter 16 2022-05-01 20:11:23 -04:00
Carol (Nichols || Goulding)
ee9dd2bb6b Edits from nostarch for chapter 16 2022-05-01 11:32:50 -04:00
Carol (Nichols || Goulding)
52fafaaa8e Propagate nostarch edits back to src 2022-04-30 14:15:33 -04:00
Carol (Nichols || Goulding)
8fa865b498 Add words to dictionary 2022-04-30 14:14:27 -04:00
Carol (Nichols || Goulding)
f1d163c714 Propagating edits back to the nostarch snapshot 2022-04-30 14:06:42 -04:00
Carol (Nichols || Goulding)
cb4153bc43 Small wording change. Fixes #3112. 2022-04-30 14:06:41 -04:00
Carol (Nichols || Goulding)
734d50b0dc Clarify the kind of manual cleanup meant here
Fixes #2896.
2022-04-30 14:06:41 -04:00
Carol (Nichols || Goulding)
c5bcf69db1 Edits to edits to chapter 15 2022-04-30 14:06:41 -04:00
Carol (Nichols || Goulding)
439a70dd39 Edits from nostarch 2022-04-30 10:27:50 -04:00
Ben Brook
ab2eaa5669 Add missing word 2022-04-30 10:15:37 -04:00
Ben Brook
42e73af832 Improve sentence structure 2022-04-30 10:15:37 -04:00
Marvin Löbel
3e6f616f63 fix unidiomatic new functions in chapter 15 2022-04-30 10:14:07 -04:00
Carol (Nichols || Goulding)
44e31f9f30 Propagate nostarch ch14 to src 2022-04-29 10:03:00 -04:00
Carol (Nichols || Goulding)
bc49039091 Update a link and the -p publishing instructions 2022-04-29 09:13:26 -04:00
Carol (Nichols || Goulding)
5a2ee6a808 Actually, I don't think we need to show the command output here 2022-04-29 09:11:44 -04:00
Carol (Nichols || Goulding)
707cab659f Edits to edits to chapter 14 2022-04-29 09:05:11 -04:00
Carol (Nichols || Goulding)
166ac57db4 Update manual regeneration instructions 2022-04-29 09:02:34 -04:00
Martijn Gribnau
01b4aa4c5a Reflect the addition of the -p flag in Cargo 1.56 in chapter 14
In Cargo 1.56 (2021-10-21), support for publishing a package from a Cargo workspace
was added to the `cargo publish` command.

The book however still mentioned that it wasn't possible to publish a package
unless you navigated into the respective package directory and published from
there.

This commit fixes the text which mentioned it isn't possible, and the text
was instead changed to be an example of how the flag can be used (similar to
the `cargo test -p [spec]` above it).

The manual-regeneration comment was taken from Chapter 14.2 (Publishing a Crate
to Crates.io) as the example was similar to the publish a crate example there.
2022-04-29 08:59:13 -04:00
Carol (Nichols || Goulding)
3dfbcba0e5 Change polarity and names of variables in env var section
Fixes #1898.
2022-04-27 21:43:42 -04:00
Carol (Nichols || Goulding)
8fd2327e41 Propagate nostarch edits back to ch 12 2022-04-27 21:24:49 -04:00
Carol (Nichols || Goulding)
15bbaaa9ae Change environment variable and field name to perhaps be less confusing 2022-04-27 09:01:01 -04:00
Carol (Nichols || Goulding)
719d674fdb Responses to nostarch edits 2022-04-27 09:01:01 -04:00
Carol (Nichols || Goulding)
8efc6ee86d Merge remote-tracking branch 'origin/ch13' 2022-04-27 09:00:05 -04:00
Carol (Nichols || Goulding)
c25f7183f2 Fixing chapter 13 listings 2022-04-26 22:17:37 -04:00
Andrew Rosenfeld
1e980fd268 Fix #3002 use noplayground with common.rs 2022-04-24 20:34:59 -04:00
Carol (Nichols || Goulding)
f8c4a88c74 Snapshot of chapter 13 for nostarch 2022-04-24 20:14:02 -04:00
Carol (Nichols || Goulding)
16707ccebd fancy quotes 2022-04-24 20:09:02 -04:00
Carol (Nichols || Goulding)
bb16c7dfcf Minor sentence restructuring 2022-04-24 20:07:05 -04:00
Carol (Nichols || Goulding)
de7213a962 Move the function name note a bit later 2022-04-24 20:05:19 -04:00
Carol (Nichols || Goulding)
2609c8d610 Add an example of passing a function name to a Fn trait argument 2022-04-24 20:04:42 -04:00
Carol (Nichols || Goulding)
5e58b9cc3f Start of better Fn traits explanation 2022-04-23 13:25:50 -04:00
Carol (Nichols || Goulding)
ce4da5ccbf Start of a new closure example 2022-04-21 10:33:03 -04:00
Carol (Nichols || Goulding)
f2b9c19831 Add more weasel words around closure type annotation. Fixes #2837. 2022-04-21 08:57:04 -04:00
Carol (Nichols || Goulding)
4bfc9edbc4 Use impl Iterator instead of std::env::Args
Fixes #2021. Fixes #3052.
2022-04-21 08:56:41 -04:00
Carol (Nichols || Goulding)
4284e16071 Propagate ch3 edits to src 2022-04-20 21:30:01 -04:00
Carol (Nichols || Goulding)
f63a69e016 Updating chapter 3 to use new println style 2022-04-20 21:30:01 -04:00
Carol (Nichols || Goulding)
6815f64fc1 Specify loop label format. Fixes #3105. 2022-04-20 21:30:01 -04:00
Carol (Nichols || Goulding)
875f62c44a Clarify function definition must be in an accessible scope. Fixes #3003 2022-04-20 21:30:01 -04:00
Carol (Nichols || Goulding)
1dfc9e94b9 Addressing tech review comments, propagating other changes 2022-04-20 21:30:01 -04:00
Carol (Nichols || Goulding)
08d3ebbc4e Comments from tech review 2022-04-20 21:30:01 -04:00
Nuno-Mota
c2ee07d72f Chapter 3, section 2 - Add explicit type annotation to example of scalar type char. 2022-04-20 21:30:01 -04:00
Herbert Reiter
de0dbffc58 Remove duplicate text 2022-04-18 19:29:45 -04:00
Tilman
cf8bc8dbba Add missing punctuation mark in ch16-01 2022-04-18 19:29:16 -04:00
Aaron Reisman
f326ca0fc4 Update main.rs 2022-04-18 19:28:11 -04:00
Carol (Nichols || Goulding)
765318b844 Propagate nostarch edits to src 2022-04-12 21:14:47 -04:00
Carol (Nichols || Goulding)
5550c34f85 Propagate updated test example code to nostarch snapshot 2022-04-12 21:14:47 -04:00
Carol (Nichols || Goulding)
6eabc87f2a Edits to nostarch edits 2022-04-12 21:14:47 -04:00
Carol (Nichols || Goulding)
ca8827eabe edits from nostarch 2022-04-12 21:14:47 -04:00
TenType
ea34019f7d Fix error message for the example code 2022-04-11 16:38:37 -04:00