Commit Graph
4722 Commits
Author SHA1 Message Date
Chris Krycho 0729f34edc Ch. 2: Further simplify language about numbers 2024-04-19 12:56:58 -06:00
Víctor Hernández 3ebc3b285f Update ch02-00-guessing-game-tutorial.md
The example code converts the input into a whole number. Replace the text "convert the String the program reads as input into a real number type" to "an actual number type" as the word real might be understood as one of the number categories instead as a synonym to "actual".
2022-09-01 14:22:21 +02:00
Vishal Lama 0a5421ceb2 Add a missing line generated by 'cargo new'
When running `cargo new hello_cargo` in the command line, one of the lines automatically generated in the Cargo.toml file of the `hello_cargo` project is a comment regarding more keys and their definitions. This comment is currently missing in the book chapter, and it probably should be added there.
2022-08-28 19:51:04 -04:00
mjh 98c6225e5f Clarify ThreadPool-Worker analogy wording 2022-08-18 21:15:06 -04:00
vladvel e418c239e8 Fixed incorrect mutex lock usage
Mutex lock spans through job execution, should be in a let statement as in the subsequent full code listing https://github.com/rust-lang/book/blob/main/listings/ch20-web-server/no-listing-07-final-code/src/lib.rs#L72-L74.
2022-08-18 21:12:36 -04:00
Carol (Nichols || Goulding) 06d1090845 Merge remote-tracking branch 'origin/pr/3314' 2022-08-17 10:22:00 -04:00
Carol (Nichols || Goulding) bcea0e43ea Put interactive book notice in a blockquote box to draw attention to it 2022-08-17 10:15:54 -04:00
Carol (Nichols || Goulding) a39854bdc9 Remove the word 'new' because someday it won't be new anymore 2022-08-17 10:07:00 -04:00
Carol (Nichols || Goulding) 769d98ce0f Merge remote-tracking branch 'origin/pr/3304' 2022-08-17 10:02:37 -04:00
Eric Huss 9e64a9bbbf Remove 2018 edition theme. 2022-08-16 18:47:18 -07:00
Brian Fakhoury 42ca0ef484 Missing period at end of sentence 2022-08-12 21:52:02 -04:00
Will Crichton e6517ebd04 Add link to experimental Rust Book 2022-08-09 10:44:25 -07:00
IDJack 64a3622e45 Fix grammar in ch06-02 2022-08-08 21:32:59 -04:00
Andy Barnard 36383b4da2 Update ch16-02-message-passing.md
Fixed a grammatical error
2022-07-19 21:03:20 -04:00
Carol (Nichols || Goulding) 83788ff212 Update snapshots with edits made to src that need to be checked 2022-07-14 21:33:04 -04:00
Carol (Nichols || Goulding) 9232dec2d7 Remove inconsistent newline. Fixes #3240. 2022-07-14 21:33:04 -04:00
yjhn 929d9cc5e4 add missing b in chapter 15.6 2022-07-14 20:43:21 -04:00
shanedroogan 4fe92fb0a3 Grammar: corrected 'as much' to 'as such'
The context suggests that this sentence is meant to clarify that a
detail was left out prior; i.e. 'We did not call `String` by this name'
as opposed to 'We did not call `String` as frequently'.
2022-07-14 20:41:57 -04:00
yjhn 4ea9b2e0da grammar: add missing 'of' 2022-07-14 20:41:33 -04:00
Christian Koopmann a2cb72d3ad Fix incorrect link for listing 13-06 2022-07-14 20:31:33 -04:00
LeonGr bf755d4d46 Correct method name
The text in chapter 13.1 mentions a method `shirt_giveaway`, which is
actually named `giveaway` in the relevant listing and the text further
on.
2022-07-14 20:30:33 -04:00
Eric Huss 855f9e4e7f Remove unused theme directories. 2022-07-11 11:16:11 -04:00
Carol (Nichols || Goulding) cf2653a5ca Frontmatter 2022-07-05 12:07:58 -04:00
Carol (Nichols || Goulding) 2fe9eff266 Update to Rust 1.62 2022-07-04 21:17:25 -04:00
Carol (Nichols || Goulding) 92bfbfacf8 Extract where clause example so it'll get rustfmtted in the future 2022-07-04 21:05:33 -04:00
Carol (Nichols || Goulding) d6efdcc0a6 Merge remote-tracking branch 'origin/pr/3238' into extract-where-clause-example 2022-07-04 21:00:25 -04:00
Carol (Nichols || Goulding) 310ea6cb0d Fix line wrapping of lib placement fix 2022-07-04 20:50:43 -04:00
Carol (Nichols || Goulding) d036f7f049 Fix grammar, spelling, and line wrapping of description of appendices 2022-07-04 20:50:24 -04:00
Carol (Nichols || Goulding) a14ce12806 Merge remote-tracking branch 'origin/pr/3244' into binlib 2022-07-04 20:40:27 -04:00
Ethan Roseman e7c688559e Clarify *type* parameter names 2022-07-04 20:37:56 -04:00
Carol (Nichols || Goulding) 50775360ba Fix listing 8-21. Fixes #3251 2022-07-04 20:36:25 -04:00
Carol (Nichols || Goulding) f490796274 Propagate tech review changes for ch13 2022-07-04 20:14:48 -04:00
Carol (Nichols || Goulding) 58fa698eef Responses to tech review of chapter 13 2022-07-02 22:00:06 -04:00
Carol (Nichols || Goulding) 208042284a Tech review comments on chapter 13 2022-07-02 22:00:06 -04:00
Carol (Nichols || Goulding) 3709acaf30 Fix double the 2022-06-28 12:27:17 -04:00
Carol (Nichols || Goulding) 1e17bf15b1 Propagate tech review chapter 1 changes to src 2022-06-28 12:27:17 -04:00
Carol (Nichols || Goulding) 13777e50c7 Address tech review comments for chapter 1 2022-06-28 12:27:17 -04:00
Carol (Nichols || Goulding) aba5ff8d9b Tech review comments for chapter 1 2022-06-28 12:27:17 -04:00
Herbert Reiter 057b0d3382 Fix grammar 2022-06-28 12:10:26 -04:00
Herbert Reiter 3e5105b52f Fix grammar 2022-06-28 12:08:11 -04:00
Carol (Nichols || Goulding) 07f2fe9356 Edits to edits to the introduction 2022-06-28 10:32:48 -04:00
Carol (Nichols || Goulding) 447b406ef3 Comments from nostarch on the introduction 2022-06-28 10:27:31 -04:00
Genius1512 907a8e27a0 Add a short description of Appendix F and G to the introduction 2022-06-28 10:37:15 +02:00
Genius1512 6e2fe7c0f0 Consistent placement of --lib flag, #3239 2022-06-28 09:22:33 +02:00
wtlin1228 fd8439617f format where clause example in 10.2 traits 2022-06-25 22:43:57 +08:00
Carol (Nichols || Goulding) efbafdba36 Propagate tech review edits to appendices to src 2022-06-19 21:06:50 -04:00
Carol (Nichols || Goulding) b7dfcc0cbe Tech review comments and further edits to the appendices 2022-06-19 21:01:57 -04:00
Herbert Reiter 27ce189ee6 Duplicate fragment "mutation and borrowing" 2022-06-19 19:58:17 -04:00
Carol (Nichols || Goulding) 53db6c9652 Propagate ch20 tech review edits to src 2022-06-17 16:26:06 -04:00
Carol (Nichols || Goulding) 8152c6224a Edits in response to tech review of chapter 20 2022-06-17 15:52:57 -04:00