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

Professional translations for CR2 content. Changes are being staged in a separate branch until all Japanese content is reviewed. #1463 #652

translation
translation/ja

Professional translations for CR2 content. Changes are being staged in a separate branch until all zh-TW content is reviewed. #1463 #684

translation
translation/zh-TW

Professional translations for CR2 content. Changes are being staged in a separate branch until all zh-TW content is reviewed. #1463 #684

translation
translation/zh-TW

#1834 fixes the issue of multiple schedule update comments, but the comments themselves are still not very useful. Let's try to do a smarter diff, that emphasizes the changes the...

Android stopped the transition to Bazel a few months ago. We may have to amend the original text. _Originally posted by @jiyongp in https://github.com/google/comprehensive-rust/pull/1649#discussion_r1496914927_

https://google.github.io/comprehensive-rust/smart-pointers/box.html#:~:text=A%20Box%20cannot%20be%20empty%2C%20so%20the%20pointer%20is%20always%20valid%20and%20non%2Dnull.%20This%20allows%20the%20compiler%20to%20optimize%20the%20memory%20layout I think this is not correct. I wrote this debugging code: ``` #[derive(Debug)] enum List { /// A non-empty list: first element and the rest of the list. Element(T,...

This means: - Edition: we currently use the 2021 edition. - Comments: we prefer line comments over block comments. - Formatting: we use this [`rustfmt.toml`](https://cs.android.com/android/platform/superproject/+/main:build/soong/scripts/rustfmt.toml). - Arithmetic: use `wrapping_add` and...

enhancement

Due to the high interest from the community (both internal and external), I've created [this spreadsheet](https://docs.google.com/spreadsheets/d/1K0jK5TbX-__NVjvCJwZXjv7Fht86vu49gpOA38UfWSQ/edit?usp=sharing) to distribute the work. If anyone is interested in translating, please add your github...

translation
translation/vi

2507998 byte diunduh dari github.com pada 11,92 Mbps 2507998 byte diunduh dari cloud.githubusercontent.com pada 3,62 Mbps 2507998 byte diunduh dari avatars.githubusercontent.com pada 46,78 Mbps 2507998 byte diunduh dari github.githubassets.com pada...