100-exercises-to-learn-rust icon indicating copy to clipboard operation
100-exercises-to-learn-rust copied to clipboard

A self-paced course to learn Rust, one exercise at a time.

Results 99 100-exercises-to-learn-rust issues
Sort by recently updated
recently updated
newest added

Two notes - Requiring specific `panic` messages for the errors is a little annoying - Technically this is wrong `Title cannot be longer than 50 characters` , from https://doc.rust-lang.org/std/string/struct.String.html#method.len ```...

Hello, and thanks for writing a really great resource! I'm really having fun learning Rust with this! I had to check the solution for [this problem](https://github.com/mainmatter/100-exercises-to-learn-rust/blob/907dbf957f7ded018bfddce9c30e08d730cbc110/exercises/03_ticket_v1/07_setters/src/lib.rs#L3), since I was trying...

Test case **u64_mut_ref_size** implies that the reference whose size is being tested is mutable, but the reference in the actual test case is immutable, just like in two other test...

In chapter 3 (ticket v1) task 2 (validation) you say the following: ``` rust // - the `title` should be at most 50 bytes long. // - the `description` should...

Hi, thanks for the exercices, I enjoy them. In exercice **(06) ticket_management - (02) vec**, you have to complete the following function: ```rust pub fn fibonacci(n: u32) -> u32 {...

owned v is not dropped, while scoped thread are runing.

I think 4.9 could benefit from an additional paragraph expanding on what `type Output;` does. In the solution for "[**4.13. Outro**](https://github.com/mainmatter/100-exercises-to-learn-rust/blob/907dbf957f7ded018bfddce9c30e08d730cbc110/exercises/04_traits/13_outro/src/lib.rs#L43-L50)", there is the line `type Output = SaturatingU16;`, which...

Fixes a failing test by truing up the expected value with the implementation of the error message

The [Macros](https://rust-exercises.com/04_traits/04_derive#macros) section of the book's **4.4 - Derive macros** page has a link to a [Further Reading](https://rust-exercises.com/04_traits/04_derive#further-reading) section but the subsection is missing from the page. BTW, this an...