Uploaded October 2026 | Updated November 2026, 1 day ago
👉Join the Rust Live Accelerator waitlist: letsgetrusty.com/join/wv-bKUi8LH-C9I
Google's Rust style guide goes beyond formatting to cover API design and production code. Which rules should you adopt, and which depend on the scale and needs of your codebase?
Google's Rust style guide: google.github.io/styleguide/rustguide.html
Chapters
0:00 Google's Rust style guide and its goals
1:35 Accepting flexible references
2:32 Newtypes versus type aliases
3:34 Pattern matching instead of check-then-unwrap
4:21 Option versus Result for errors
5:47 Avoiding Rc and Arc by default
6:44 Non-exhaustive public enums
8:05 The API compatibility debate
8:54 Why Chromium prefers small crates
👉Join the Rust Live Accelerator waitlist: letsgetrusty.com/join/wv-bKUi8LH-C9I
Google's Rust style guide goes beyond formatting to cover API design and production code. Which rules should you adopt, and which depend on the scale and needs of your codebase?
Google's Rust style guide: google.github.io/styleguide/rustguide.html
Chapters
0:00 Google's Rust style guide and its goals
1:35 Accepting flexible references
2:32 Newtypes versus type aliases
3:34 Pattern matching instead of check-then-unwrap
4:21 Option versus Result for errors
5:47 Avoiding Rc and Arc by default
6:44 Non-exhaustive public enums
8:05 The API compatibility debate
8:54 Why Chromium prefers small crates










