Nick Cameron
|
1f991d00e0
|
Merge pull request #1822 from topecongiro/issue-1172
Remove newlines between list elements for expressions
|
2017-07-27 11:15:53 +12:00 |
|
Seiichi Uchida
|
7c9aee78f0
|
Update tests
|
2017-07-26 22:43:50 +09:00 |
|
topecongiro
|
e523f053a3
|
Format source codes and update tests
|
2017-07-26 16:30:58 +09:00 |
|
Seiichi Uchida
|
a8b0a6e4c5
|
Format source codes and update tests
|
2017-07-20 00:42:00 +09:00 |
|
Seiichi Uchida
|
de403f4f65
|
Use offset_left instead of shrink_left
|
2017-07-20 00:41:36 +09:00 |
|
topecongiro
|
7ab4bdfd85
|
Use correct one line budget when rewriting index
|
2017-07-10 14:23:29 +09:00 |
|
Seiichi Uchida
|
78224a0644
|
Update tests
|
2017-07-10 02:25:26 +09:00 |
|
topecongiro
|
cb48435ff3
|
Format source codes
|
2017-07-05 18:31:37 +09:00 |
|
topecongiro
|
183e3482e5
|
Add a space before range if lhs ends with dot
|
2017-07-04 20:23:57 +09:00 |
|
Nick Cameron
|
2400f39f98
|
Merge pull request #1757 from topecongiro/rfc/combine-array
Rfc: Combine Array
|
2017-07-04 18:22:32 +12:00 |
|
topecongiro
|
c762cf9b43
|
Update tests
|
2017-06-29 11:01:22 +09:00 |
|
topecongiro
|
5f77581763
|
Put multi-lined index on the next line if it fits in one line
|
2017-06-26 07:57:06 +09:00 |
|
topecongiro
|
b5a13602d9
|
Update tests
|
2017-06-20 22:35:16 +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
|
6f30d9e7c9
|
Reformat tests
|
2017-06-13 14:42:54 +12:00 |
|
Nick Cameron
|
a7183766b9
|
Test fallout
|
2017-04-06 13:06:11 +12:00 |
|
Nick Cameron
|
5305bc8436
|
test fallout
|
2017-03-28 11:25:59 +13:00 |
|
Nick Cameron
|
488c0b9546
|
Test and source fallout
|
2017-03-22 09:25:26 +13:00 |
|
Nick Cameron
|
981b031c9f
|
Treat new blocks like existing ones in closures
Fixes #1355
|
2017-03-07 14:30:01 +13:00 |
|
Nick Cameron
|
b9ab3ef9da
|
Test fallout
|
2017-03-07 11:28:25 +13:00 |
|
Nick Cameron
|
ba1202f6b3
|
test 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
|
9be2971274
|
Refactor pairs/binops
|
2017-01-11 12:06:23 +13:00 |
|
sinkuu
|
b6bffa6596
|
Prevent line breaking at = or in after trivial patterns
|
2016-09-17 13:03:14 +09:00 |
|
Marcus Klaas
|
b3488c6186
|
Fix constraints on pattern formatting of else arms
|
2016-06-03 23:18:19 +02:00 |
|
Marcus Klaas
|
98c0570a28
|
Format non-statement if-else expressions on a single line
|
2016-05-29 17:58:38 +02:00 |
|
Marcus Klaas
|
eae2921e14
|
Bootstrap it. Hard.
|
2016-05-12 21:50:43 +02:00 |
|
Marcus Klaas
|
9eee93306a
|
Format closed ranges
|
2016-03-29 23:58:45 +02:00 |
|
DarkDrek
|
937e26d4e1
|
fixes parsing issue #767
|
2016-01-12 21:13:59 +01:00 |
|
Marcus Klaas de Vries
|
b6120b39ab
|
Merge pull request #571 from nrc/semi
Don't strip semi-colons from expressions with non-void type since it …
|
2015-11-10 08:43:29 +01:00 |
|
Nick Cameron
|
b7d61254a7
|
Option to disable line breaking in comments
Set to false by default for now, since we are having a lot of problems with comments. We should set to true once we have a better algorithm.
|
2015-11-10 08:03:01 +13: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
|
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 |
|
Gaurav Saxena
|
af00f3ffe6
|
added semicolons to break statements
|
2015-10-13 02:17:51 -04:00 |
|
Marcus Klaas
|
e6af5d2c83
|
Use visual block indentation for array literals
|
2015-10-12 21:14:12 +02:00 |
|
Marcus Klaas
|
ca0b860688
|
Format repeated element array literals
|
2015-10-02 12:00:28 +02:00 |
|
Marcus Klaas
|
ad2e3b8e2b
|
Format indices
|
2015-10-02 11:47:03 +02:00 |
|
Marcus Klaas
|
603f2034a5
|
Format type casts
|
2015-10-02 11:31:40 +02:00 |
|
Marcus Klaas
|
078fff068a
|
Improve heuristics for match arm body placement
|
2015-09-26 22:35:53 +02:00 |
|
Eli Friedman
|
19e887c309
|
Add support for formatting AddrOf (unary "&").
|
2015-09-24 01:13:57 -07:00 |
|
Nick Cameron
|
d941fe20b4
|
Merge pull request #358 from eefriedman/rewrite-return
Add support for formatting "return" expressions.
|
2015-09-24 18:19:37 +12:00 |
|
Eli Friedman
|
69da1a78de
|
Add support for formatting "return" expressions.
Fixes #303.
|
2015-09-23 23:12:04 -07:00 |
|
Scyptnex
|
f1dfab5a29
|
fix for #355 and test cases
|
2015-09-24 12:01:48 +10:00 |
|
Scyptnex
|
19d1ec1dec
|
Fixes #339 and #272
|
2015-09-24 10:22:06 +10:00 |
|