Commit Graph

1116 Commits

Author SHA1 Message Date
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
Matthew Hall
59352172b3 Change import lists with one item to single import
Changes lists such as ``use std::{fmt}`` to a form without a list, eg
``use std::fmt``.
2015-05-02 20:28:38 +01:00
defyrlt
59554dd5e1 Resolved #56 -- mut was eaten out of mut self in fn args. 2015-05-02 20:27:08 +01:00
Oliver Schneider
b546dfcf83 forgot newline at eof
rustfmt found it
2015-05-02 17:09:33 +02:00
Oliver Schneider
968344fba1 pass single filename instead of full argument list to idem_check 2015-05-02 16:56:46 +02:00
Oliver Schneider
a50337a118 first step to a non-panicking idem_check function 2015-05-02 16:50:33 +02:00
Nick Cameron
f83e3400cb Merge pull request #60 from oli-obk/master
babysteps towards #51
2015-05-02 18:47:27 +12:00
Oliver Schneider
62e583d4cf split main function and test function into their own files
small modifications to make executable and test compile properly
2015-05-01 22:28:58 +02:00
Oliver Schneider
e6e7ce178f main.rs -> lib.rs 2015-05-01 22:24:53 +02:00
Nick Cameron
3149eff223 Merge pull request #58 from Stebalien/borrow
Trust the borrow checker.
2015-05-02 06:59:00 +12:00