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...
What knowledge have you never used again? What was most boring? What part made you whine "ugghhh when am I ever going to use this in real life?!?!"
- [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 ####...
https://www.reddit.com/r/rust/comments/gq9rmq/integration_testing_in_rust/frsxbx3/ > tests/integration/main.rs Cargo will automatically discover the tests in the same way we manually specified, and so we can use the same commands as described above. https://www.lpalmieri.com/posts/skeleton-and-principles-for-a-maintainable-test-suite/#custom-test-framework I am...
- [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...
Hi I've been reading the 2nd edition but this issue also seems to apply to the 2018 one. The book has in general done a very good job of explaining...
- [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 `first_word()` example in Section 4.3 currently iterates over the `String`'s individual bytes, rather than Unicode characters: ```rust fn first_word(s: &String) -> &str { let bytes = s.as_bytes(); for (i,...
- [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...