File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ match_block_trailing_comma = true
35
35
max_width = 100
36
36
37
37
# Comments:
38
- normalize_comments = true
38
+ normalize_comments = false
39
39
normalize_doc_attributes = false
40
40
wrap_comments = true
41
41
comment_width = 90 # small excess is okay but prefer 80
@@ -51,7 +51,7 @@ imports_granularity = "Crate"
51
51
52
52
# Arguments:
53
53
use_small_heuristics = " Default"
54
- fn_params_layout = " Compressed "
54
+ fn_params_layout = " Vertical "
55
55
overflow_delimited_expr = true
56
56
where_single_line = true
57
57
Original file line number Diff line number Diff line change 2
2
3
3
/// Adds two numbers
4
4
#[ must_use]
5
- pub fn add ( left : usize , right : usize ) -> usize {
5
+ pub fn add (
6
+ left : usize ,
7
+ right : usize ,
8
+ ) -> usize {
6
9
left. saturating_add ( right)
7
10
}
8
11
Original file line number Diff line number Diff line change 2
2
3
3
/// Format our hello message nicely.
4
4
#[ must_use]
5
- pub fn fmt_hello ( name : & str , count : u8 ) -> String {
5
+ pub fn fmt_hello (
6
+ name : & str ,
7
+ count : u8 ,
8
+ ) -> String {
6
9
format ! ( "Hello #{count:>3} {name}!" )
7
10
}
8
11
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ match_block_trailing_comma = true
35
35
max_width = 100
36
36
37
37
# Comments:
38
- normalize_comments = true
38
+ normalize_comments = false
39
39
normalize_doc_attributes = false
40
40
wrap_comments = true
41
41
comment_width = 90 # small excess is okay but prefer 80
@@ -51,7 +51,7 @@ imports_granularity = "Crate"
51
51
52
52
# Arguments:
53
53
use_small_heuristics = " Default"
54
- fn_params_layout = " Compressed "
54
+ fn_params_layout = " Vertical "
55
55
overflow_delimited_expr = true
56
56
where_single_line = true
57
57
You can’t perform that action at this time.
0 commit comments