Martin Lindhe
|
f930a16b8d
|
fix some typos
|
2017-11-01 07:33:55 +01:00 |
|
Seiichi Uchida
|
792f48c976
|
Add a test for #2099
|
2017-10-30 23:37:26 +09:00 |
|
topecongiro
|
ff30782725
|
Update tests
|
2017-09-15 12:20:58 +09:00 |
|
Seiichi Uchida
|
5cf05a2992
|
Update tests
|
2017-08-18 23:20:12 +09:00 |
|
Seiichi Uchida
|
7268a50e36
|
Handle prefix and suffix try operators differently
|
2017-08-09 16:36:41 +09:00 |
|
topecongiro
|
6f24c64673
|
Update tests
|
2017-08-05 15:24:20 +09:00 |
|
Seiichi Uchida
|
36b347b123
|
Update tests
|
2017-07-31 16:24:18 +09:00 |
|
Seiichi Uchida
|
9777c0de93
|
Format source codes and update tests
|
2017-07-20 00:42:00 +09:00 |
|
Seiichi Uchida
|
b78b6e8b09
|
Format source codes and update tests
|
2017-07-20 00:42:00 +09:00 |
|
topecongiro
|
be55f856bb
|
Update tests
|
2017-07-11 21:53:48 +09:00 |
|
topecongiro
|
7cbc48ae32
|
Update tests
|
2017-07-10 16:52:55 +09:00 |
|
Seiichi Uchida
|
78224a0644
|
Update tests
|
2017-07-10 02:25:26 +09:00 |
|
topecongiro
|
9b73490491
|
Update tests
|
2017-06-17 15:26:59 +09:00 |
|
topecongiro
|
208ff15954
|
Format source codes
|
2017-06-16 08:49:49 +09:00 |
|
topecongiro
|
de10113c74
|
Update tests
Add more patterns and types
|
2017-06-15 16:55:31 +09:00 |
|
topecongiro
|
b8f11a4e3c
|
Format source codes
|
2017-06-14 20:39:07 +09:00 |
|
Nick Cameron
|
18ccd0190e
|
Rebasing
|
2017-06-13 14:49:47 +12:00 |
|
Nick Cameron
|
6f30d9e7c9
|
Reformat tests
|
2017-06-13 14:42:54 +12:00 |
|
topecongiro
|
57fc39305d
|
Put guard on newline if it exceeds max width
|
2017-06-12 17:25:38 +09:00 |
|
topecongiro
|
27da80324c
|
Implement catch
|
2017-06-06 07:32:06 +02:00 |
|
topecongiro
|
d16a0a399e
|
Implement 'vec![expr; expr]'
|
2017-05-23 11:32:09 +09:00 |
|
topecongiro
|
0248e9869d
|
Apply closure exception to match in args
|
2017-05-09 08:28:05 +09:00 |
|
Seiichi Uchida
|
19599b9a01
|
Use block when arm exceeds max_width
|
2017-05-02 10:15:31 +09:00 |
|
topecongiro
|
3d2cd681ae
|
Use 'first_line_width'
|
2017-05-01 15:36:40 +09:00 |
|
Nick Cameron
|
a7612cc773
|
more fallout
|
2017-02-23 13:15:48 +13:00 |
|
Nick Cameron
|
d948485371
|
Allow empty blocks on one line in more places
In particular if they contain only a single-line comment.
Fixes #493
|
2017-01-16 16:37:58 +13:00 |
|
Nick Cameron
|
846d7ad387
|
make rustfmt-normalize_comments false by default
|
2017-01-16 14:50:27 +13:00 |
|
Nick Cameron
|
5dc3283e49
|
Reviewer comments - mostly fix rewrite_guard
|
2016-04-12 10:30:57 +12:00 |
|
Nick Cameron
|
afc8be1d79
|
Change the logic around breaking multiple patterns in match arms
Refactor to use the list code, don't preserve original stacking-ness, base vertical vs mixed formatting on complexity of the patterns.
Closes #386
|
2016-04-12 09:23:37 +12:00 |
|
Nick Cameron
|
9d8ce54428
|
Don't apply the function args heuristic to tuple lits.
Closes #450
Closes #510
|
2016-03-14 20:51:06 +13:00 |
|
Nick Cameron
|
d86cfb357a
|
Format all patterns (well, except macros)
Fixes #18
Fixes #672
|
2016-02-12 14:59:13 +13:00 |
|
Seo Sanghyeon
|
16b348dd9c
|
Add commas after skipped arms when needed
|
2016-01-08 22:15:54 +09:00 |
|
Marcus Klaas
|
7b0cceafee
|
Force chains to adhere to restrictions
|
2015-11-20 21:09:34 +01:00 |
|
Marcus Klaas
|
6e1f77664d
|
Unwrap match arms that are simple blocks
|
2015-11-20 21:05:18 +01:00 |
|
Marcus Klaas
|
8f3a29d1a7
|
Blockify multiline match arms
|
2015-11-20 21:05:10 +01:00 |
|
Nick Cameron
|
3dc0b804f1
|
Don't strip semi-colons from expressions with non-void type since it can change semantics
|
2015-11-09 13:23:19 +13:00 |
|
Marcus Klaas
|
b41965539a
|
Bump match inner block indent a level
|
2015-10-23 21:39:26 +02:00 |
|
Eli Friedman
|
e720218ffb
|
Improve handling of commas after match arms.
Fixes #507. Fixes #508.
|
2015-10-21 14:35:45 -07:00 |
|
Marcus Klaas
|
e8447a8210
|
Fix large block comments
|
2015-10-19 23:06:36 +02:00 |
|
Marcus Klaas
|
ca023ba9b7
|
Format some patterns
|
2015-10-19 20:15:36 +02:00 |
|
Marcus Klaas
|
a9bd695723
|
Format vec! macro using brackets
|
2015-10-16 22:55:42 +02:00 |
|
Marcus Klaas
|
b039e3a8c3
|
Force semicolons after break/continue/return. Remove after blocks.
|
2015-10-15 19:55:42 +02:00 |
|
Marcus Klaas
|
30aefa6dc7
|
Prevent arithmetic overflow handling match arm comments
|
2015-09-27 22:11:17 +02:00 |
|
Marcus Klaas
|
2eb67827a7
|
Add extra tests for match arm placement
|
2015-09-27 11:58:26 +02:00 |
|
Marcus Klaas
|
2d4a0cbe3b
|
Fix match arm indentation bug
|
2015-09-26 23:18:57 +02:00 |
|
Marcus Klaas
|
078fff068a
|
Improve heuristics for match arm body placement
|
2015-09-26 22:35:53 +02:00 |
|
Scyptnex
|
19d1ec1dec
|
Fixes #339 and #272
|
2015-09-24 10:22:06 +10:00 |
|
Marcus Klaas
|
f751356910
|
Format macro invocations
|
2015-09-16 20:26:14 +02:00 |
|
Marcus Klaas
|
48d17f54d3
|
Rebase onto master
|
2015-09-11 00:53:01 +02:00 |
|
Nick Cameron
|
ce4d5aa39c
|
Fix a bug with alignment in one-line match arms
|
2015-09-02 14:45:56 +12:00 |
|