Last active
October 15, 2021 05:25
-
-
Save nestordemeure/1ad97fed68abe46f85faebd40df4c1f4 to your computer and use it in GitHub Desktop.
my rustfmt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rust format configuration file | |
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md | |
indent_style = "Visual" | |
control_brace_style = "AlwaysNextLine" | |
use_small_heuristics = "Max" | |
brace_style = "AlwaysNextLine" | |
where_single_line = true | |
imports_indent = "Visual" | |
trailing_comma = "Never" | |
overflow_delimited_expr = true | |
max_width = 110 | |
reorder_modules = false | |
reorder_imports = false | |
# note that this file uses some options that are only available on `nightly` | |
# when developing on `stable`, you can still run it with `cargo +nightly fmt` | |
# or with some IDE trickery such as: | |
# https://github.com/rust-analyzer/rust-analyzer/issues/3627#issuecomment-612021748 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment