1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-28 00:39:01 +02:00
Files
comprehensive-rust/rustfmt.toml
KawaBaud 10de002d4e change imports_granularity value to 'Module' (#2947)
rustsc 1.89.0 says that the values are in PascalCase and will error out
otherwise. Specfic message:

`"module" is not one of ["Preserve","Crate","Module","Item","One"]`
2025-10-14 07:48:26 +02:00

10 lines
289 B
TOML

# Please use a nightly rustfmt for these settings.
unstable_features = true
imports_granularity = "Module"
wrap_comments = true
# The code blocks get a scrollbar if they are wider than this.
max_width = 85
# Allow all constructs to take up max_width columns.
use_small_heuristics = "Max"