Open crlf0710 opened 7 years ago
When will this be brought up again? I use c++'s google style guide and I really like it. I tried to partially replicate that style in rustfmt, would you be interested in seeing it?
Sorry, but I'm not aware of any such plans.
we don't have much atm. we're just running rustfmt
on code and enforcing that. here's our rustfmt.toml
.
edition = "2021"
version = "Two"
# The "Default" setting has a heuristic which splits lines too aggresively.
# We are willing to revisit this setting in future versions of rustfmt.
# Bugs:
# * https://github.com/rust-lang/rustfmt/issues/3119
# * https://github.com/rust-lang/rustfmt/issues/3120
use_small_heuristics = "Max"
newline_style = "Unix"
wrap_comments = true
format_generated_files = false
Now that there're projects written in Rust like google/xi-editor. I wonder if there're any plans to add a rust style guide?