Google Rust Style

Use when writing, reviewing, or refactoring Rust code — module layout and imports, function parameter and return types (&str vs &String, slice vs &Vec, iterators, bool flags), traits and derives, Option/Result/panic, naming, doc comments, unsafe, unwrap/expect, iterator chains — or when the user asks for Google's Rust style guide, or works in Chromium, Android, or Fuchsia Rust. For the rust-coding-guidelines rule IDs (P.NAM, G.FMT, ...) use coding-guidelines instead.

stanfish06 Updated 12 repo stars

File contents

stanfish06/skillquarium commit e45e8a157d

Frequently asked questions

npx get-skill add stanfish06/google-rust-style