comprehensive-rust
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.
Fixes #67.
In `Ownership` chapter we give one example to indicate that variable will be dropped at the end of scope. ```rust struct Point(i32, i32); fn main() { { let p =...
Reading this simple and comprehensive book, while finding the example for shared_shate is not complete. Hope this added simple example could serve.
The original code would always print "Unknown program name!".
Hi I was having an issue with the exercise at the end of day 1. Writing it as it is shown in the solution ``` fn add_book(&mut self, book: Book)...
This implements a system for speaker notes via `details` elements and some JavaScript. The general idea is 1. You add speaker notes to each page by wrapping some Markdown code...
Add some explanation in the solution particular for the bonus question of for-loop exercise. reference: https://www.reddit.com/r/learnrust/comments/101pp8r/difference_between_i32_and_i32/
From a discussion in #23.