Nick Cameron
|
585b071aa1
|
Merge pull request #678 from marcusklaas/length-one-tuplez
Fixed named arguments in bare function types
|
2015-12-07 09:01:38 +13:00 |
|
Marcus Klaas
|
97e4e7e5ba
|
Fixed named arguments in bare function types
|
2015-12-06 01:11:26 +01:00 |
|
Marcus Klaas
|
0fb9611786
|
Don't include failed item rewrites in missed spans
|
2015-11-30 23:12:50 +01:00 |
|
Marcus Klaas
|
4b4dd170d8
|
Correct doc comment indentation for struct fields
Fix https://github.com/rust-lang-nursery/rustfmt/issues/572.
|
2015-11-22 22:55:57 +01:00 |
|
Marcus Klaas
|
d32245a13d
|
Fix brace indentation after where clause
|
2015-11-13 14:31:20 +01:00 |
|
Marcus Klaas de Vries
|
e0e24c4e76
|
Merge pull request #573 from nrc/doom_panic
Format tuple structs better
|
2015-11-09 20:17:50 +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
|
bcda2824a2
|
Format tuple structs better
closes #546
|
2015-11-09 19:00:04 +13:00 |
|
Marcus Klaas
|
11756d2ef8
|
Refactor enum formatting
|
2015-10-19 21:28:05 +02:00 |
|
mwiczer
|
5162282b60
|
Support pre- and post-comments for enums
Use lists to format enum variants rather than special formatting.
Add tests for enums mostly around block comments.
|
2015-10-08 17:22:57 -04:00 |
|
Marcus Klaas
|
5db17ca703
|
Use the maximum available width in struct formatting
Previously, we'd use an approximation for the maximum width since the configuration wasn't available in `write_list`.
|
2015-09-25 16:56:22 +02:00 |
|
Nick Cameron
|
97e92b35cc
|
Preserve some whitespace between struct fields etc.
|
2015-09-02 14:11:19 +12:00 |
|
Marcus Klaas
|
150c333e6c
|
Fix bug in path formatting
|
2015-08-21 16:28:32 +02:00 |
|
Marcus Klaas
|
0ef5db9496
|
Format tuple-like structs
|
2015-06-23 16:54:42 +02:00 |
|