Commit Graph

175 Commits

Author SHA1 Message Date
Nick Cameron
b601ea2bc7 Highlight that we require nightly in the README 2015-06-02 12:30:46 +12:00
Nick Cameron
fb40a2796e Merge pull request #85 from cassiersg/tuple
Implement reformat of tuple litterals
2015-05-31 20:11:10 +12:00
Gaëtan Cassiers
7a6b4db819 Handle tuples of length 1 2015-05-30 16:52:46 +02:00
Gaëtan Cassiers
38f421b764 fix : width available 2015-05-30 16:44:07 +02:00
Nick Cameron
90494132c2 Merge pull request #81 from tdudziak/issue_31
Optionally put the opening paren on the previous line for args (Issue #31)
2015-05-29 11:59:37 +12:00
Gaëtan Cassiers
092d6be368 Implement reformat of tuple litterals 2015-05-28 21:30:28 +02:00
Tomasz Dudziak
1bb3c9e555 Use config!(tab_spaces) instead of hardcoded 4. 2015-05-26 09:31:16 +02:00
Nick Cameron
ecd9557495 Merge pull request #80 from cassiersg/master
Fix #79
2015-05-26 08:18:06 +12:00
Tomasz Dudziak
21a0f1b787 Clarify indent calcs in compute_budget_for_args 2015-05-25 21:29:02 +02:00
Tomasz Dudziak
fdd7baeae9 Optionally put the opening paren on the previous line for args 2015-05-25 16:39:19 +02:00
Gaëtan Cassiers
673b8d5f22 add test for const fn 2015-05-25 13:27:19 +02:00
Gaëtan Cassiers
113bdaa119 Fix #79 2015-05-25 13:22:10 +02:00
Nick Cameron
b7579f6f6d Merge pull request #75 from nrc/structs
Structs
2015-05-25 19:16:25 +12:00
Nick Cameron
46818d405a Struct literals 2015-05-25 19:14:20 +12:00
Nick Cameron
972f494e4e Pref for comma on the last field 2015-05-25 17:14:39 +12:00
Nick Cameron
e7adf64155 Format structs 2015-05-25 17:07:55 +12:00
Nick Cameron
c3856880f6 Merge pull request #74 from cassiersg/paren-expr
Add reformating for parentheses
2015-05-25 09:57:20 +12:00
Gaëtan Cassiers
09bd4a74e4 Avoid dangling ) 2015-05-24 23:46:02 +02:00
Gaëtan Cassiers
c1fc693c5e syle correction 2015-05-24 23:35:40 +02:00
Gaëtan Cassiers
1db6fa0fe5 Add idem test for paren 2015-05-24 22:08:35 +02:00
Gaëtan Cassiers
0baeca5829 Add rewrite for ExprParen 2015-05-24 19:57:13 +02:00
Nick Cameron
6a5ef17eb1 Add config.rs which I forgot for the last commit
Closes #73
2015-05-23 22:25:36 +12:00
Nick Cameron
1a09a6d00a Use config file for constants 2015-05-23 17:53:53 +12:00
Nick Cameron
aa6f7e8d3c Add default.toml and modify the build system for it 2015-05-23 15:28:41 +12:00
Nick Cameron
910ca80710 Make travis use Rust nightly 2015-05-22 15:50:58 +12:00
Nick Cameron
ddf1131c8a Merge pull request #71 from posix4e/master
Remove old box syntax
2015-05-21 09:59:17 +12:00
Alex HotShot Newman
2fbb445b67 Remove old box syntax 2015-05-20 11:20:15 -07:00
Nick Cameron
e38a672fe0 Merge pull request #70 from defyrlt/test_for_53
Added regression test for #53.
2015-05-17 23:39:32 +12:00
defyrlt
837dadd5aa Added regression test for #53. 2015-05-17 14:35:11 +03:00
Nick Cameron
5286663fe2 Merge pull request #67 from marcusklaas/test-diff
Show diffs for failing tests
2015-05-13 13:03:11 +12:00
Nick Cameron
b9d3cb20d9 Merge pull request #65 from marcusklaas/required-methods
Format required methods on traits
2015-05-12 13:08:11 +12:00
Marcus Klaas
4aa3518703 Format required methods on traits 2015-05-12 02:37:05 +02:00
Marcus Klaas
4ecde410c4 Show diffs for failing tests 2015-05-12 02:19:14 +02:00
Nick Cameron
6b1494885c Merge pull request #48 from oli-obk/newlines
handle windows newlines
2015-05-12 10:33:42 +12:00
Nick Cameron
541ccbe700 Merge pull request #61 from oli-obk/master
a panic->Result conversion approach to idem test
2015-05-12 10:31:51 +12:00
Nick Cameron
83285269ee Merge branch 'mattyhall-single-import' 2015-05-12 10:06:12 +12:00
Nick Cameron
3b383a4c22 Merge branch 'single-import' of https://github.com/mattyhall/rustfmt into mattyhall-single-import
Rebased:
	src/imports.rs
2015-05-12 10:03:25 +12:00
Nick Cameron
e2a5d94e3f Merge pull request #68 from marcusklaas/import-breaks
Keep import lists on a single line when possible
2015-05-12 09:39:22 +12:00
Nick Cameron
7e5b05d443 Merge pull request #69 from oli-obk/patch-1
typo
2015-05-12 08:23:19 +12:00
Oliver Schneider
853b58901b typo 2015-05-11 15:05:12 +02:00
Oliver Schneider
ee338d934e don't create a thread just for panic-isolation 2015-05-05 16:56:29 +02:00
Marcus Klaas
c790d7d550 Keep import lists on a single line when possible 2015-05-04 22:22:31 +02:00
Oliver Schneider
cd3b032e11 prevent bogus whitespace error messages due to \r 2015-05-04 14:32:48 +02:00
Oliver Schneider
1655583b02 handle windows newlines 2015-05-04 12:50:24 +02:00
Oliver Schneider
a14dcdf0c2 addressed comments 2015-05-04 11:04:34 +02:00
Oliver Schneider
07637aed41 rustfmt dislikes tabs and some newlines 2015-05-04 10:09:41 +02:00
Nick Cameron
0ede9ae861 Merge pull request #62 from marcusklaas/use-indent
Correctly indent use items and functions
2015-05-04 19:28:21 +12:00
Marcus Klaas
58a14fbc79 Correctly indent use items and functions 2015-05-04 09:25:20 +02:00
Nick Cameron
411abe08de Merge pull request #63 from nicholasbishop/bishop-missing-verb
Fix a missing word in the README
2015-05-03 11:49:36 +12:00
Nicholas Bishop
1ef94acec1 Fix a missing word in the README 2015-05-02 19:15:42 -04:00