Revision control
Copy as Markdown
Other Tools
# This file defines the Rust style for automatic reformatting.
# Rust language edition to be used by the parser.
edition = "2021"
# Version of the formatting rules to use.
style_edition = "2021"
# Line endings will be converted to \n.
newline_style = "Unix"
wrap_comments = true
# The "Default" setting has a heuristic which splits lines too aggresively.
# We are willing to revisit this setting in future versions of rustfmt.
# Bugs:
use_small_heuristics = "Max"
# Third party code is formatted upstream.
ignore = [
"third_party/rust/**/crate",
"third_party/rust/chromium_crates_io/vendor",
]