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.
This code had variables in the function arguments that were not being used (yet). To address that, in this PR I commented out the functions. This changes allow us to...
In book-library.rs we create instances of the structs (library books) so that the struct fields are not unused. These changes allow us to remove the line to silence warnings for...
Remove warning from exercises #71
The little script in #291 is simple: it runs all text through [Cloud Translate](https://cloud.google.com/translate). This works so-so since many Rust terms (such as "Rust" and "Cargo") are translated into the...
The line makes Soong statically compile all Rust dependencies. This in turn makes it easy to copy examples to the emulator. However, this mode is not the default and it...
The code blocks of `mdbook` provide a "Copy to clipboard" button - however pages like https://google.github.io/comprehensive-rust/cargo/running-locally.html contain shell blocks like follows: ``` $ cargo new exercise Created binary (application) `exercise`...
Looking at [this page](https://google.github.io/comprehensive-rust/ownership/lifetimes-function-calls.html), it seems that syntax highlighting (and line spacing) is inconsistent between code blocks marked as `editable` vs. `ignore`. I find the colors somewhat better for `ignore`,...
This page mentions: > At the time of writing, the latest stable Rust release has these version numbers: > > ``` > % rustc --version > rustc 1.61.0 (fe5b13d68 2022-05-18)...
In https://github.com/google/comprehensive-rust/pull/329, I'm adding some text which makes a line exceed the 80-column standard formatting of markdown files. I'm waiting for the workflows to be approved to see if they...