Skip to content

Commit e01775f

Browse files
committed
Formatting changes
1 parent 8c1b59e commit e01775f

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[workspace]
22
members = ["app", "xtask"]
33
resolver = "2"
4+
5+
[lints.clippy]
6+
semicolon_if_nothing_returned = "allow"

rustfmt.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
1+
edition = "2021"
2+
version = "Two"
3+
14
newline_style = "Unix"
25
indent_style = "Block"
36

47
blank_lines_upper_bound = 2
58

69
array_width = 80
710
chain_width = 80
8-
max_width = 100
11+
max_width = 120
12+
fn_call_width = 80
13+
single_line_if_else_max_width = 80
14+
single_line_let_else_max_width = 80
15+
trailing_semicolon = false
916

1017
imports_granularity = "Crate"
1118
reorder_imports = true
1219
group_imports = "StdExternalCrate"
20+
imports_layout = "HorizontalVertical"
1321

1422
match_arm_blocks = false
1523
match_block_trailing_comma = true
1624

1725
use_field_init_shorthand = true
1826
reorder_impl_items = true
1927
where_single_line = false
28+
fn_single_line = true
29+
force_multiline_blocks = true
30+
condense_wildcard_suffixes = true
31+
overflow_delimited_expr = true
32+
33+
format_strings = true
34+
normalize_doc_attributes = true
35+
wrap_comments = true

0 commit comments

Comments
 (0)