book
book copied to clipboard
The Rust Programming Language
- I have searched open and closed issues and pull requests for duplicates, using these search terms: - "ref" - "bind by reference ref" - I have checked the latest...
- Added `Listing [0-9]+-[0-9]+` hyperlinks across all files - Cross-file hyperlink - Anchored in the `span` tag below listings
URL to the section(s) of the book with this problem: https://github.com/rust-lang/book/blob/main/src/ch10-01-syntax.md Description of the problem: at the last example in section: In Function Definitions, last example only suggests the reader...
Let's drop the parts talking about specially constructed code that creates a reference cycle. Let's start with the practical goal of writing the tree data structure, which is discussed at...
- I have searched open and closed issues and pull requests for duplicates, using these search terms: - "clone receiver" - "ch20" - "std::mpsc" - I have checked the latest...
The `-p` option stands for **package**, not **crate**.
The section on how to run a single test is not precise for cases where test names are substrings of other tests which generates questions like https://stackoverflow.com/questions/54585804/how-to-run-a-specific-unit-test-in-rust. I propose to...
Chapter 16-15 has drift between the book text and the code that this PR tries to address 1. The current code print output is `Result: 9` 2. The text describes...