comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

Results 608 comprehensive-rust issues
Sort by recently updated
recently updated
newest added

If we are introducing `for` loops, I think it is beneficial to show a very basic `for i=0; i < 10; i+=2` too.

Mention `let else` in the speaker notes. Alternatively, `let else` may deserve it's own section. It is very nice. https://github.com/rust-lang/rust/pull/93628. Please let me know if you'd prefer me to add...

Adding a note about types of `if` branch blocks.

Adding the important note about ";" in blocks.

Adding speaker notes with key things that might be present in the solution. This PR was based on the assumption students actually need to implement this in the class. The...

Adding more information how match guards are different from simply using "if" inside of the match case, after the case has matched.

Extending a struct example that demonstrates how to change values and how to partially copy structs.

Adding a speaker note that suggests to demonstrate to students what happens if you add a third variant to the enum.

Adding the line that you can no longer call `add_lap` after the race is finished.

The key takeaway is mutability of receivers and the rules that come with it. It might be a repetition of borrow checker rules, but it is important to know they...