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 43 100-exercises-to-learn-rust issues
Sort by recently updated
recently updated
newest added

Should the question on line 3 really be about `&mut [str]`, not `&mut str`? I mean, you can easily take an array here, but neither the tests nor the TODO...

In the previous parts of the tutorial, the reader is taught about idiomatic ways to do fallible and infallible conversions between types using the `From` and `TryFrom` traits. Later, the...

I just finished `03_ticket_v1` and was wondering why you would want to return a reference to an integral type? Because a reference is `usize`, I can understand why you wouldn't...

With the test being annotated with ``` #[allow(overflowing_literals)] ``` in combination with the test being: ```rust assert_eq!(255 as i8, todo!()); ``` a naïve answer of `255_i8` succeeds. I'm guessing the...

We want to check whether the ticket's `status` field was actually patched to `Status::InProgress`.

Fix incorrect statement and remove unintended line break.

Without an explicit suffix, the compiler is able to use the i32 implementation without the need for an u32 implementation.

This code fails as-is, because the display implementation has a prefix of `Title error: ` which the copied assert does not have

Follow-up of https://github.com/mainmatter/100-exercises-to-learn-rust/pull/13 in the `solutions` branch.