book
book copied to clipboard
The Rust Programming Language
This part of the book kind of confused me ``` The trait bound specified on the generic type F is FnOnce() -> T, which means F must be able to...
URL to the section(s) of the book with this problem: https://github.com/rust-lang/book/blob/main/src/ch02-00-guessing-game-tutorial.md#printing-values-with-println-placeholders Description of the problem: First, the capturing syntax is used to print the single value `guess`, then it is...
- [X] I have checked the latest `main` branch to see if this has already been fixed - [X] I have searched existing issues and pull requests for duplicates I...
Vectors and Strings were discussed in parallel in Chapter 8. This thread aims at improving the completeness and consistency of the presented materials. **Current flow of ideas:** 1. Vector: [Section...
- [x] I have checked the latest `main` branch to see if this has already been fixed - [x] I have searched existing issues and pull requests for duplicates URL...
- [x] I have checked the latest `main` branch to see if this has already been fixed - [x] I have searched existing issues and pull requests for duplicates URL...
In iterators, it is more precise to say that we need to _specify_ an `Item` type rather than to _define_ it. It can be already defined elsewhere but _specify_ also...
- [√ ] I have checked the latest `main` branch to see if this has already been fixed - [√ ] I have searched existing issues and pull requests for...
- [x] I have checked the latest `main` branch to see if this has already been fixed - [x] I have searched existing issues and pull requests for duplicates URL...
The tutorial code was changed due to RFC2795, but the prose following it introducing format string was not, and was confusing as a result. This commit clarifies the current syntax,...