1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-10-30 23:36:53 -04:00

Add rustfmt style guide

This commit is contained in:
Christian Duerr 2019-03-30 16:48:36 +00:00 committed by GitHub
parent 91aa683bcd
commit cfd025b528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
57 changed files with 1895 additions and 2412 deletions

13
rustfmt.toml Normal file
View file

@ -0,0 +1,13 @@
match_block_trailing_comma = true
condense_wildcard_suffixes = true
use_field_init_shorthand = true
overflow_delimited_expr = true
use_small_heuristics = "Max"
format_doc_comments = true
normalize_comments = true
reorder_impl_items = true
use_try_shorthand = true
newline_style = "Unix"
format_strings = true
wrap_comments = true
comment_width = 100