book
book copied to clipboard
The Rust Programming Language
Saying that license files or configuration files are not related to the code is a bit inaccurate. I think this phrasing is more descriptive. Disclaimer: I'm just starting reading the...
You give: ```rust fn main() { let x = plus_one(5); println!("The value of x is: {x}"); } fn plus_one(x: i32) -> i32 { x + 1; } ``` And then...
We just had a discussion in the Rust forum, see https://users.rust-lang.org/t/why-old-versions-of-crate-get-downloaded-equally-everyday/130042/16 Our current feeling is, that the Cargo.lock file is ignored, unless the --locked flag is passed to cargo install...
Language your translation is for: Dutch URL to the repo where you're working: [d-mg/rust-book-nl](https://github.com/d-mg/rust-book-nl)
URL to the section(s) of the book with this problem: https://doc.rust-lang.org/book/ch04-03-slices.html#the-slice#type Description of the problem: The function below is confusing: ```rust fn first_word(s: &String) -> usize { let bytes =...
Improve documentation for --vcs usage.
The sentence is correct for all Debian-based distros like Mint and Pop OS as well as Ubuntu.
Updated documentation referencing the std::io module to align with nomenclature used in the reference manual here: https://doc.rust-lang.org/std/io/index.html