book
book copied to clipboard
The Rust Programming Language
[Chapter 2. Programming a Guessing Game](https://doc.rust-lang.org/book/ch02-00-guessing-game-tutorial.html) uses thread_rng() and gen_range(), which are deprecated. I replaced every thread_rng() with rng(), and every gen_range() with random_range() The function is also referenced in...
In subsection "Building Our Own Async Abstractions" of section "17.3 Working with Any Number of Futures" (link: https://doc.rust-lang.org/book/ch17-03-more-futures.html#building-our-own-async-abstractions), the concept in paragraph "We also know that race is not fair,...
Following #4271. It works by handling the pattern `Listing\s(\d+-\d+)` and replacing it with ``. ~~However, cross-chapter references aren't handled yet–I'm not quite sure how to approach that part at the...
Language your translation is for: Turkish URL to the repo where you're working: https://github.com/mustafaekici/book-tr
updated appendix translation with linking book turkish repo.
This PR fixes a couple of typos and a code listing reference found in chapter 17.05-06.
- In subsection "Using move Closures with Threads" of section 16.1 (link: https://doc.rust-lang.org/book/ch16-01-threads.html#using-move-closures-with-threads), the following paragraph: Notice in Listing 16-1 that the closure we pass to thread::spawn takes no arguments:...
Update link URL to section “Returning Errors from the run function” in ch17-03-more-futures.md
Unify rendering for keyboard shortcuts
Removes an unused link in chapter 20-1