Stéphane Campinas
|
78d4fca2d7
|
indicate in the readme that edition may need to be written in rustfmt.toml
|
2019-01-21 00:53:31 +01:00 |
|
Nick Cameron
|
d2e91b5b68
|
Merge pull request #3284 from scampi/issue-3270
recognize strings inside comments in order to avoid indenting them
|
2019-01-17 20:22:36 +13:00 |
|
Stéphane Campinas
|
083a20fb1a
|
version-gate the formatting of commented strings
|
2019-01-16 23:06:28 +01:00 |
|
wada314
|
a01990c4d0
|
Use Unicode-standard char width to wrap comments or strings. (#3275)
|
2019-01-15 08:41:09 +09:00 |
|
Stéphane Campinas
|
503cddeb0f
|
Merge pull request #3225 from scampi/issue-3224
rewrite_comment: fix block fallback when failing to rewrite an itemized block
|
2019-01-14 14:41:00 +01:00 |
|
Stéphane Campinas
|
a1bbf58965
|
Merge pull request #3285 from arnavb/patch-1
Fix incorrect documentation for `unstable_features`
|
2019-01-10 21:10:34 +01:00 |
|
Stéphane Campinas
|
baa62c609e
|
recognize strings inside comments in order to avoid indenting them
Close #3270
|
2019-01-10 21:04:16 +01:00 |
|
Arnav Borborah
|
4d87ef76d8
|
Fix incorrect documentation for unstable_features
|
2019-01-10 14:54:06 -05:00 |
|
Nick Cameron
|
2c204c11d1
|
Merge pull request #3260 from topecongiro/issue-3004
Do not modify original source code inside macro call
|
2019-01-07 17:39:05 +13:00 |
|
Nick Cameron
|
c357eee8bb
|
Merge pull request #3276 from dten/allow-p
allow specifying package with -p
|
2019-01-07 17:28:13 +13:00 |
|
David Hewson
|
a8d2591f0c
|
allow specifying package with -p
currently `cargo fmt -p blah` is rejected but `cargo fmt --package blah` is allowed. both should be allowed
|
2019-01-01 17:49:55 +00:00 |
|
Stéphane Campinas
|
3b18238009
|
simplify function to create a string from the itemized block
|
2018-12-25 23:15:52 +01:00 |
|
Seiichi Uchida
|
996d5e8d6c
|
Fix shape when formatting return or break expr on statement position (#3259)
|
2018-12-25 18:20:29 +09:00 |
|
wada314
|
09c9cd4125
|
Fix issue #3263 (#3264)
|
2018-12-25 18:03:48 +09:00 |
|
Seiichi Uchida
|
84702bc289
|
Merge pull request #3266 from wada314/fix-2973
Fix issue #3265
|
2018-12-25 18:00:45 +09:00 |
|
Seiichi Uchida
|
e60f4bbea6
|
Merge pull request #3269 from wada314/lc-unreachable
Remove a trivial redundant code.
|
2018-12-25 17:58:27 +09:00 |
|
Shohei Wada
|
d504a66076
|
Remove a trivial redundant code.
self.base.peek().is_none() case is already catched by the line above.
|
2018-12-24 17:48:42 +09:00 |
|
Shohei Wada
|
e37f468b21
|
Change \r detection much simpler.
|
2018-12-24 07:25:15 +09:00 |
|
Shohei Wada
|
6a316e3ac7
|
Add test cases.
|
2018-12-24 06:18:00 +09:00 |
|
Shohei Wada
|
f3f511af1b
|
Fix #2973 in Windows CRLF env.
|
2018-12-24 06:12:28 +09:00 |
|
Seiichi Uchida
|
a1ee7e9565
|
Merge pull request #3258 from scampi/version-gate
Clarify version gate used for #3229
|
2018-12-20 13:30:58 +09:00 |
|
topecongiro
|
49568d7f76
|
Do not modify original source code inside macro call
|
2018-12-20 01:14:14 +09:00 |
|
topecongiro
|
30cda580bd
|
Add a test for #3004
|
2018-12-20 01:13:18 +09:00 |
|
Stéphane Campinas
|
e305262493
|
clarify the version-gate used for the #3229 change
|
2018-12-19 09:36:47 +01:00 |
|
Stéphane Campinas
|
36e2cb0456
|
add a section to the Contributing.md file about version-gating formatting changes
|
2018-12-19 09:31:13 +01:00 |
|
Seiichi Uchida
|
3f6ea7788b
|
Merge pull request #3240 from Xanewok/parser-panic
Catch possible tokenizer panics
|
2018-12-18 11:30:08 +09:00 |
|
Seiichi Uchida
|
d1c7afe080
|
Merge pull request #3250 from scampi/issue3229
version-gate the trailing semicolon change of return statements inside a match arm
|
2018-12-18 11:22:45 +09:00 |
|
Philipp Hansch
|
d0785954c8
|
Fix trim_right/trim_left deprecation warnings (#3252)
|
2018-12-18 11:21:31 +09:00 |
|
Nick Cameron
|
16c292dcf8
|
Merge pull request #3249 from andjo403/assert_cli
remove deprecated dependency assert_cli
|
2018-12-17 20:52:18 +13:00 |
|
Andreas Jonson
|
653f3ae636
|
use the rustfmt function to find the bin
makes it possible to execute the test after a release build
|
2018-12-14 23:32:25 +01:00 |
|
Andreas Jonson
|
836562baf4
|
remove deprecated dependency assert_cli
|
2018-12-14 23:32:08 +01:00 |
|
Stéphane Campinas
|
b1012334b3
|
bump the version of formatting rules to Two
|
2018-12-14 09:54:23 +01:00 |
|
Stéphane Campinas
|
b73a602d6e
|
version-gate the trailing semicolon change of return statements inside a match arm
|
2018-12-14 09:54:23 +01:00 |
|
Igor Matuszewski
|
c7ee2a2857
|
Don't ignore parse error when constructing report
|
2018-12-13 13:35:15 +01:00 |
|
Igor Matuszewski
|
a2042a6470
|
Use non-panicking maybe_parser_from_source_str
|
2018-12-13 13:35:15 +01:00 |
|
Igor Matuszewski
|
10b9afa906
|
Add test asserting we catch Rust parser panics
|
2018-12-13 13:35:15 +01:00 |
|
Seiichi Uchida
|
66c98db50f
|
Merge pull request #3232 from ForsakenDurian/patch-1
Fix formatting in Configurations.md
|
2018-12-12 14:42:21 +09:00 |
|
Nick Cameron
|
be135599ef
|
1.0.1
|
2018-12-10 10:51:26 +13:00 |
|
Nick Cameron
|
2979ce8f8b
|
remove from README.md
|
2018-12-10 08:36:09 +13:00 |
|
Nick Cameron
|
8222381d8f
|
Merge pull request #3236 from kngwyu/upd-syntax
Update rustc-ap-syntax to 306.0
|
2018-12-08 13:15:55 -05:00 |
|
kngwyu
|
fd27eabbb7
|
Update rustc-ap-syntax to 306.0
|
2018-12-08 14:39:52 +09:00 |
|
Isaac Ng
|
c4ea1581a1
|
Fix formatting in Configurations.md
fixes #3230
|
2018-12-07 14:58:02 +11:00 |
|
Nick Cameron
|
3ccc1f8a06
|
Merge pull request #3231 from LucianBuzzo/minor-typo-fixes
Fix minor typos and grammar
|
2018-12-06 11:15:28 -05:00 |
|
Lucian
|
8cd8ab5f4b
|
Fix minor typos and grammar
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
|
2018-12-06 15:31:43 +00:00 |
|
Stéphane Campinas
|
ab7f4e19eb
|
rewrite_comment: fix block fallback when failing to rewrite an itemized block
Close #3224
|
2018-12-02 00:22:36 +01:00 |
|
Seiichi Uchida
|
43206f4162
|
Merge pull request #3223 from scampi/issue3213
end expressions like return/continue/break with a semicolon
|
2018-11-30 09:15:31 +09:00 |
|
Stéphane Campinas
|
d03d9a45ef
|
end expressions like return/continue/break with a semicolon
Close #3213
|
2018-11-29 20:39:07 +01:00 |
|
Nick Cameron
|
4f233a513e
|
Merge pull request #3222 from scampi/issue-3217
fix the visitor's starting position when visiting a labelled block
|
2018-11-29 11:48:46 +13:00 |
|
Stéphane Campinas
|
40174e9481
|
fix the visitor's starting position when visiting a labelled block
Close #3217
|
2018-11-28 22:50:17 +01:00 |
|
Nick Cameron
|
bbc380b1e6
|
Merge pull request #3221 from alexreg/cosmetic-1
Cosmetic improvements
|
2018-11-28 15:29:18 +13:00 |
|