File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11edition = " 2024"
22style_edition = " 2024"
33
4- # Hard tabs provide significant accessibility benefits over Rust's preferred 4-space indentation.
4+ # xt deviates from The Rust Style Guide in two notable ways.
5+
6+ # First, hard tabs can provide substantial accessibility benefits over a strict space count.
57# See e.g. https://redd.it/c8drjo, https://github.com/prettier/prettier/issues/7475#issuecomment-668544890.
68hard_tabs = true
9+
10+ # Second, it's easier and more readable to wrap all comments at a maximum of 100 columns, rather
11+ # than the style guide's complicated "80 characters up to the maximum width of 100, whichever is
12+ # smaller" rule. The rustfmt tracking issue for the unstable "comment_width" option shows broad
13+ # agreement with this. Since this is unstable in rustfmt, I'm documenting the style preference
14+ # without any explicit setting change.
You can’t perform that action at this time.
0 commit comments