Seiichi Uchida
154bf8e1af
Cargo fmt
2018-01-22 13:05:18 +09:00
Seiichi Uchida
fa6892eb63
Use field initialization shorthand if possible
...
Also this PR fixes a bug that attributes on a shorthand field get removed.
2018-01-22 13:04:20 +09:00
Seiichi Uchida
fff59fe8d9
Add a test for field initialization shorthand
2018-01-22 13:03:48 +09:00
David Alber
69f27673df
Extending spaces_around_ranges
to ranges in match arm patterns
2018-01-21 16:50:17 -08:00
Seiichi Uchida
8e6ee4a762
Merge pull request #2341 from rust-lang-nursery/steveklabnik-patch-1
...
Fix installation instructions to use rustup
2018-01-21 15:26:31 +09:00
Seiichi Uchida
6b19d4d749
Merge pull request #2378 from kjvalencik/hard-tabs-overflow
...
LineOverflow: Count tabs as tab_spaces when measuring line length for overflow
2018-01-21 15:20:33 +09:00
K.J. Valencik
1fb172f989
LineOverflow: Count tabs as tab_spaces when measuring line length for overflow
2018-01-19 12:18:25 -05:00
Seiichi Uchida
e0e3e22248
0.3.6
2018-01-18 18:56:46 +09:00
Nick Cameron
30ba763c77
Merge pull request #2371 from topecongiro/issue-2370
...
Do not panic when special macros have less args than expected
2018-01-18 15:19:41 +13:00
Seiichi Uchida
298f29a57d
Do not panic when special macros have less args than expected
2018-01-18 00:50:16 +09:00
David Alber
2afd1eada3
Wrapping match_block_trailing_comma=true
snippet in function
2018-01-16 08:12:32 -08:00
David Alber
44d2fcc2a0
Wrapping match_block_trailing_comma=false
snippet in function
2018-01-16 08:12:32 -08:00
David Alber
ee9bdeed7d
Fixing imports_layout="HorizontalVertical"
snippet
2018-01-16 08:12:32 -08:00
David Alber
e49314fccc
Fixing imports_layout="Mixed"
snippet
2018-01-16 08:12:32 -08:00
David Alber
c92a3b4066
Fixing imports_indent="Block"
snippet
2018-01-16 08:12:32 -08:00
David Alber
167ed92a24
Fixing imports_indent="Visual"
snippet
2018-01-16 08:12:32 -08:00
David Alber
df9cbb92bd
Fixing format_strings=true
snippet
2018-01-16 08:12:31 -08:00
David Alber
30f89c3063
Fixing format_strings=false
snippet
2018-01-16 08:12:31 -08:00
David Alber
ed90b2232f
Fixing where_single_line=true
snippet
2018-01-16 08:12:31 -08:00
David Alber
76947a68d3
Fixing where_single_line=false
snippet
2018-01-16 08:12:31 -08:00
David Alber
45deeee80f
Fixing brace_style="PreferSameLine"
structs and enums snippet
2018-01-16 08:12:31 -08:00
David Alber
034bd7a88e
Fixing brace_style="AlwaysNextLine"
structs and enums snippet
2018-01-16 08:12:31 -08:00
David Alber
4db479f637
Fixing brace_style="SameLineWhere"
structs and enums snippet
2018-01-16 08:12:31 -08:00
David Alber
514adeb156
Getting fn_args_density="Vertical"
snippet to pass
2018-01-16 08:12:31 -08:00
David Alber
7e7370756c
Wrapping control_brace_style="ClosingNextLine"
snippet in function
2018-01-16 08:12:31 -08:00
David Alber
ba7f3ab718
Wrapping control_brace_style="AlwaysNextLine"
snippet in function
2018-01-16 08:12:31 -08:00
David Alber
d49e22a2b8
Wrapping control_brace_style="AlwaysSameLine"
snippet in function
2018-01-16 08:12:31 -08:00
David Alber
368a44b564
Wrapping condense_wildcard_suffixes=true
snippet in function
2018-01-16 08:12:31 -08:00
David Alber
c08c706f55
Wrapping condense_wildcard_suffixes=false
snippet in function
2018-01-16 08:12:31 -08:00
David Alber
8b010c30fc
Getting binop_separator="Front"
snippet to pass
2018-01-16 08:12:31 -08:00
David Alber
b23204fc54
Correcting use_small_heuristics=true
snippet
2018-01-16 08:12:31 -08:00
David Alber
3a7eb68db9
Correcting indent_style="Block"
where predicate snippet
2018-01-16 08:12:31 -08:00
David Alber
e2ffee7cf8
Wrapping indent_style="Visual"
struct snippet in function
2018-01-16 08:12:31 -08:00
David Alber
c6a18143a8
Wrapping indent_style="Block"
struct snippet in function
2018-01-16 08:12:31 -08:00
David Alber
b56d88f751
Correcting indent_style="Visual"
generics snippet
2018-01-16 08:12:31 -08:00
David Alber
2455d60718
Correcting indent_style="Block"
generics snippet
2018-01-16 08:12:31 -08:00
David Alber
5180df4988
Wrapping indent_style="Visual"
function call snippet in function
2018-01-16 08:12:31 -08:00
David Alber
9fc00aa794
Wrapping indent_style="Block"
function call snippet in function
2018-01-16 08:12:31 -08:00
David Alber
48d7fb2db0
Wrapping indent_style="Visual"
array snippet in function
2018-01-16 08:12:31 -08:00
David Alber
5673c0fdbf
Wrapping indent_style="Block"
array snippet in function
2018-01-16 08:12:31 -08:00
Seiichi Uchida
c87bd9e92e
Merge pull request #2367 from Stinners/range_binopts
...
Fixing binop_separator="Back" for ranges (Issue #2364 )
2018-01-16 17:52:09 +09:00
Seiichi Uchida
88cac558d9
Merge pull request #2366 from davidalber/restore-characters
...
Restoring accidentally-removed characters
2018-01-16 17:51:37 +09:00
David Alber
790611cd82
Restoring characters accidentally removed in bbe4b380
2018-01-15 20:57:28 -08:00
Chris Stinson
4c4e079613
Fixing binop_separator="Back" for ranges
...
Hardcoded Separator::Place=Front in call to rewrite_pair for range
caused binop_separator="Back" to be hendled incorrectly
Fixed rewrite_pair call and the example in Configuration.md showing
the faulty behaviour
2018-01-16 17:50:20 +13:00
Nick Cameron
13a0bb9158
Merge pull request #2361 from davidalber/fix-binop-separator-back-snippet
...
Getting `binop_separator="Back"` snippet in Configurations.md to pass
2018-01-16 13:01:02 +13:00
David Alber
bbe4b380c3
Getting binop_separator="Back"
to pass
2018-01-15 10:47:35 -08:00
Seiichi Uchida
fa782303a6
0.3.5
2018-01-15 21:34:41 +09:00
Seiichi Uchida
6af94c3188
Merge pull request #2363 from davidalber/reword-config-note
...
Rewording configuration note
2018-01-15 20:46:22 +09:00
David Alber
49f418b838
Rewording configuration note
2018-01-15 01:41:11 -08:00
Nick Cameron
74a957e80f
Merge pull request #2357 from topecongiro/issue-2342
...
Put attributes and struct fields on different line by default
2018-01-12 17:32:55 +13:00