book
book copied to clipboard
The Rust Programming Language
- [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 sentence makes the reader believe that for `obtain user input and then print the result as output`, `we need to bring the `io` input/output library into scope.`, but that's...
Hi! I made a mdbook plugin for rust analyzer, which adds inlay hints and hover to code snippets. You can see [the book rendered with this plugin](https://hkalbasi.github.io/mdbook-ra/ch20-01-single-threaded.html). In my opinion,...
Fixed grammatical and syntax errors in error messages mentioned in the examples. Also removed unnecessary words to improve readability of the article.
- [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...
URL to the section(s) of the book with this problem: https://github.com/rust-lang/book/blob/8a0bb3c96e71927b80fa2286d7a5a5f2547c6aa4/src/ch05-01-defining-structs.md?plain=1#L134 Description of the problem: The following text isn't accurate ``` In this example, we can no longer use user1...
- [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...
I looked but was unable to find any explaining around constructs like this: ``` trait Foo : Display + 'static { } ``` Or more commonly: ``` fn foo
A couple of days ago there was a [question on URLO](https://users.rust-lang.org/t/newbie-question-example-from-documentation-not-working/68466), which uncovered the fact that some compile-fail cases in the Book are not marked as such. After some research,...
When https://github.com/rust-lang/rust/pull/90521 is merged, [destructuring assignment](https://github.com/rust-lang/rust/pull/90521) will be stable in Rust. There is currently a section on destructuring pattern matching in Chapter 18.3. Would it be worth adding a paragraph,...