rustlings
rustlings copied to clipboard
:crab: Small exercises to get you used to reading and writing Rust code!
Fix #2201 
https://github.com/rust-lang/rustlings/blob/main/exercises/12_options/options1.rs options1.rs `maybe_icecream` undefined for `hour_of_day == 23` ```rust // This function returns how much icecream there is left in the fridge. // If it's before 22:00 (24-hour system), then...
This PR implements the `--edit-cmd` suggested in https://github.com/rust-lang/rustlings/issues/2164#issuecomment-2496975000. But with the name `--editor` the same as git. close #2164
Hi! Thank you for your excellent work on the Rustlings exercises. Most of the tasks were easy to follow and had a clear purpose. However, I found myself completely stumped...
In this part of code clippy error message not inline with the intent. https://github.com/rust-lang/rustlings/blob/fbfd4f25e7e715007f5f3f6678f5d336d24d3660/exercises/22_clippy/clippy3.rs#L20-L21  Because the solution stated that this is about using `clear` instead of `resize`. https://github.com/rust-lang/rustlings/blob/fbfd4f25e7e715007f5f3f6678f5d336d24d3660/solutions/22_clippy/clippy3.rs#L20-L23
It is possible to pass threads2 without actually solving a task. Following code will make it great and allow to pass while being wrong. Maybe worth discarding as you can...
Adds `p` command/hotkey for going back to a previous exercise. Might not be fully ready to merge, this is my first Rust PR, will be happy to work/iterate where needed.
Thanks for creating the Rustlings! I loved it! While doing them I felt that the user might miss the full potential of the try operator due to the lack of...
The original excercise instructs the learner to use the vector macro. It is easy to assume that the code needs to read from `a` which is not what is intended....