Introduction
If you want to get some inspiration on rust code snippets, please checkout a rust cheat sheet.
On the docs page on rust-lang website, you can find the following helpful resources:
If you want to have a linux feel on a windows machine, you can best use WSL2. All exercises are tested within WSL2, but should work also from powershell / command prompt.
How to code
- All code snippets are editable, so you can do the coding from the browser.
This compilation is a little bit slow, it is faster to use
cargo runon the command line. - Also run each example first to get comfortable with the error messages.
- Don't change the
printlnstatements, otherwise it will become quite easy... 😉 - When you use visual studio code the following plugin is quite useful: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer