rust-lang / rustlings

:crab: Small exercises to get you used to reading and writing Rust code!
https://rustlings.cool
MIT License
52.69k stars 10.02k forks source link

Is it possible to give a correct answer #2044

Closed sunheyi6 closed 2 months ago

sunheyi6 commented 2 months ago

I found that I really don’t know how to solve some questions. I think it would be better if there were correct answers

sibkru commented 2 months ago

Solutions can be found here: https://github.com/rust-lang/rustlings/tree/main/solutions

sunheyi6 commented 2 months ago

ok, thank you

mo8it commented 2 months ago

A solution is saved to disk after solving an exercise so that you can compare to your solution. I don't recommend looking at them before solving an exercise. Instead, you can ask for hints by entering h in Rustlings.