For other languages, please see the Chromium style guides.
Chromium follows the public guidelines:
git cl format as configured by //.rustfmt.toml.)Chromium intends to also follow the Google Rust Style Guide once it's first version is finalized and made publicly available (see b/482104724). In the meantime the proposed guide can be found behind a Google-internal go/rust-style link.
Chromium-specific API design guidelines and considerations can be found in //docs/rust/api_design.md.