topecongiro
5096cdff56
Rename 'array_layout' to 'array_indent'
2017-11-04 22:45:09 +09:00
topecongiro
d287b06eba
Rename 'chain_one_line_max' to 'chain_width'
2017-11-04 22:24:43 +09:00
Martin Lindhe
f930a16b8d
fix some typos
2017-11-01 07:33:55 +01:00
Ömer Sinan Ağacan
48bdecf99d
Add Configurations.md section
2017-10-27 08:25:14 +03:00
Saulo Silva
131a37591d
Show examples of default values first and annotate them with "(default)"
2017-09-18 21:28:51 -04:00
topecongiro
bc56e7b710
Add visual guide for binop_separator
2017-09-15 15:10:34 +09:00
topecongiro
669a139956
Only merge consecutive derives
2017-08-24 23:48:18 +09:00
topecongiro
5dafcc24e4
Add merge_derives config option
2017-08-24 22:29:56 +09:00
Michael Smith
411c73c12f
Add multiline_{closure,match_arm}_forces_block
...
multiline_closure_forces_block = false (default):
result.and_then(|maybe_value| match maybe_value {
None => ...,
Some(value) => ...,
})
multiline_closure_forces_block = true:
result.and_then(|maybe_value| {
match maybe_value {
None => ...,
Some(value) => ...,
}
})
multiline_match_arm_forces_block = false (default):
match lorem {
None => if ipsum {
println!("Hello World");
},
Some(dolor) => ...,
}
multiline_match_arm_forces_block = true:
match lorem {
None => {
if ipsum {
println!("Hello World");
}
}
Some(dolor) => ...,
}
2017-08-21 14:05:20 -07:00
Nick Cameron
7e171836c6
Merge pull request #1900 from spinda/attributes-on-same-line
...
Add attributes_on_same_line_as_{field,variant} configs
2017-08-21 11:26:36 +12:00
Michael Smith
1c9d044c05
Add attributes_on_same_line_as_{field,variant}
2017-08-19 15:09:10 -07:00
Seiichi Uchida
a3567cec94
Add mach_pattern_separator_break_point config option
2017-08-18 23:19:11 +09:00
Seiichi Uchida
e9199fd25e
Update visual guide
2017-08-15 22:10:55 +09:00
Nick Cameron
6984c05e69
Change the writemode to overwrite
2017-07-21 11:22:51 +12:00
topecongiro
988e387132
Add imports_indent and imports_layout config options
2017-07-14 09:18:28 +09:00
topecongiro
2fb66cd1d3
Add trailing_semicolon config option
...
trailing_semicolon controls whether to add a trailing semicolon after break,
continue and return.
2017-07-12 14:16:06 +09:00
topecongiro
c11aac04a3
Update wrap_match_arms option tests and visual guide
2017-07-11 21:53:57 +09:00
topecongiro
8e8e7a4215
Add array_horizontal_layout_threshold option
2017-07-06 01:19:36 +09:00
topecongiro
34b4a9d3c4
Add struct_field_align_threshold for vertical alignment
2017-07-03 18:54:41 +09:00
Phil Ellison
55c2e3b1a4
Fix control_style example
2017-06-19 19:43:38 +01:00
Phil Ellison
ba36bbcfe2
Document control_style in Configurations.md
2017-06-18 10:37:05 +01:00
Phil Ellison
40db2af18e
Update names on where_style code snippets
2017-06-18 09:34:24 +01:00
Phil Ellison
e9c81cd537
Fix names of possible values for where_style
2017-06-18 08:33:32 +01:00
Phil Ellison
c0804f8a55
Fix defaults in Configurations.md
2017-06-17 11:22:04 +01:00
Seiichi Uchida
41ca11193d
Fix Configurations.md
2017-06-10 22:23:09 +09:00
Nick Cameron
6a9d7dab0d
Merge pull request #1637 from est31/master
...
Add config options for spaces around the colon in struct literal fields
2017-06-06 16:20:16 +12:00
est31
aa4cd311bb
Add config options for spaces around the colon in struct literal fields
...
In Rust, colons are used for three purposes:
* Type annotations, including type ascription
* Trait bounds
* Struct literal fields
This commit adds options for the last missing of the three purposes,
struct literal fields.
2017-06-06 03:50:58 +02:00
topecongiro
4a0094f28f
Add combine_control_expr option
2017-06-04 19:35:29 +09:00
topecongiro
2580d7a310
Add chain_split_single_child option
2017-05-25 16:07:56 +09:00
Nick Cameron
fdf950b009
Merge pull request #1569 from mathstuf/example-typos
...
Configurations: fix typos in example signatures
2017-05-19 11:57:44 +12:00
Ben Boeckel
59cefa988a
Configurations: fix typos in example signatures
2017-05-18 08:17:09 -04:00
Ben Boeckel
8ca699ce26
config: fix suffices
-> suffixes
typo
...
Fixes #1477 .
2017-05-18 08:03:47 -04:00
Flier Lu
1077a100a1
reorder imports in group
2017-05-18 13:26:34 +08:00
Vincent Esche
c994d4e9d7
Add visual configurations guide.
2017-05-01 23:55:18 +02:00