Nick Cameron
|
69ab2b5f5e
|
Merge pull request #2023 from topecongiro/issue-2020
Use a correct budget for where predicate
|
2017-10-05 18:09:49 +08:00 |
|
Nick Cameron
|
61043e64e0
|
Merge pull request #2019 from topecongiro/issue-2018
Break after '=' if a single line rhs exceeds max width
|
2017-10-05 17:30:45 +08:00 |
|
Nick Cameron
|
2abe119d88
|
Merge pull request #2017 from topecongiro/issue-1987
Format strings in attributes when `format_strings = true`
|
2017-10-05 17:27:17 +08:00 |
|
topecongiro
|
106625bc5c
|
Remove trailing whitespaces in macro def
|
2017-10-05 16:17:59 +09:00 |
|
topecongiro
|
9e963b87fc
|
Add InString field to FullCodeCharKind
|
2017-10-05 16:17:04 +09:00 |
|
Shohei Wada
|
25d2671c55
|
Fix broken tests under CRLF env.
|
2017-10-05 00:23:17 +09:00 |
|
Nick Cameron
|
c31c24de36
|
Merge pull request #2014 from topecongiro/fn-sig
Reduce number of arguments in rewrite_fn()
|
2017-10-04 20:18:02 +08:00 |
|
Nick Cameron
|
2aa2d4ebe3
|
Merge pull request #2011 from topecongiro/rewrite_call_inner
Change return type of rewrite_call_inner() to Option<String>
|
2017-10-04 20:14:10 +08:00 |
|
Seiichi Uchida
|
eebad40932
|
Use a correct budget for where predicate
|
2017-10-02 00:04:48 +09:00 |
|
Seiichi Uchida
|
1b84623aac
|
Use offset_left()
|
2017-10-02 00:00:12 +09:00 |
|
Seiichi Uchida
|
1771dfca08
|
Break after '=' if a single line rhs exceeds max width
|
2017-10-01 21:20:15 +09:00 |
|
topecongiro
|
74402bbdef
|
Move logic for doc comments to ast::Attribute::rewrite()
|
2017-10-01 20:24:53 +09:00 |
|
topecongiro
|
b74a0f960a
|
Implement StringFormat::new()
|
2017-10-01 19:39:00 +09:00 |
|
topecongiro
|
48ff9df8a4
|
Add rewrite_literal()
|
2017-10-01 19:29:23 +09:00 |
|
Nick Cameron
|
6e41100725
|
Merge pull request #2005 from topecongiro/issue-2003
Put the opening brace of fn body on the next line if it exceeds max width
|
2017-09-29 21:27:37 +08:00 |
|
Nick Cameron
|
ce62f0a7ec
|
Merge pull request #1997 from topecongiro/issue-1995
Fix a budget bug in Arg::rewrite()
|
2017-09-29 20:40:53 +08:00 |
|
topecongiro
|
921e0c22ab
|
Factor out FnSig::to_str()
|
2017-09-29 15:09:13 +09:00 |
|
topecongiro
|
62e38860b9
|
Handle 'extern "Rust"' in format_abi()
|
2017-09-29 15:08:48 +09:00 |
|
topecongiro
|
9537437e52
|
Use is_empty_block()
|
2017-09-29 12:51:06 +09:00 |
|
topecongiro
|
d8fc9ec05e
|
Remove has_braces from argument
|
2017-09-29 12:50:35 +09:00 |
|
topecongiro
|
2e6825cc8c
|
Use FnSig in rewrite_fn() and rewrite_fn_base()
|
2017-09-29 12:49:39 +09:00 |
|
topecongiro
|
7d448c2b26
|
Implement FnSig type
|
2017-09-29 12:45:42 +09:00 |
|
topecongiro
|
ee2b3b1529
|
Put the opening brace of fn body on the next line if it exceeds max width
|
2017-09-28 20:12:04 +09:00 |
|
topecongiro
|
436a083fce
|
Change return type of rewrite_call_inner() to Option<String>
|
2017-09-28 16:33:30 +09:00 |
|
Badel2
|
28860000fe
|
Support ..= syntax
|
2017-09-27 22:36:56 +02:00 |
|
topecongiro
|
dd0dcdf1ac
|
Fix a budget bug in Arg::rewrite()
|
2017-09-26 11:20:47 +09:00 |
|
Badel2
|
2f81933272
|
Temporarily replace RangeEnd::Included with _
|
2017-09-25 20:51:44 +02:00 |
|
topecongiro
|
2915167179
|
Cargo fmt and update tests
|
2017-09-19 11:41:50 +09:00 |
|
topecongiro
|
b12fecb631
|
Use horizontal layout for a function with a single argument
foo(long_arg)
instead of
foo(
long_arg,
)
|
2017-09-19 11:41:05 +09:00 |
|
topecongiro
|
b751030640
|
Remove unnecessary wrap_str()
|
2017-09-19 11:40:20 +09:00 |
|
Seiichi Uchida
|
32fa51a6a9
|
Move Spanned to spanned.rs from lib.rs
|
2017-09-19 10:04:35 +09:00 |
|
Seiichi Uchida
|
df7d2be562
|
Move Indent and Shape to shape.rs from lib.rs
|
2017-09-19 10:04:35 +09:00 |
|
Seiichi Uchida
|
18cd19673d
|
Remove wrap_str() from recover_comment_removed()
since we will be using the original snippet no matter what.
|
2017-09-18 23:30:59 +09:00 |
|
Seiichi Uchida
|
20aecb3d98
|
Run recover_comment_removed() only if the text changed after format
|
2017-09-18 22:56:29 +09:00 |
|
Nick Cameron
|
c313fb1ddc
|
Merge pull request #1973 from topecongiro/issue-1972
Echo back input from stdin when disable_all_formatting is true
|
2017-09-18 18:06:49 +12:00 |
|
Seiichi Uchida
|
b02e813db7
|
Remove rewrite_call_with_binary_search()
|
2017-09-18 13:09:41 +09:00 |
|
Nick Cameron
|
d906ea23c7
|
Merge pull request #1968 from topecongiro/issue-1967
Reorder use items inside blocks
|
2017-09-18 12:59:25 +12:00 |
|
Nick Cameron
|
cccb7f681e
|
Merge pull request #1966 from topecongiro/string-to-cow
Refactoring: use Cow and etc.
|
2017-09-18 12:45:25 +12:00 |
|
Nick Cameron
|
144da0dfdd
|
Merge pull request #1964 from topecongiro/rfc/binop
RFC: binop
|
2017-09-18 12:41:54 +12:00 |
|
Seiichi Uchida
|
ede179c62e
|
Echo back input from stdin when disable_all_formatting is true
|
2017-09-17 22:14:28 +09:00 |
|
topecongiro
|
1f1e037d8b
|
Avoid panicking when calling 'cargo fmt --all'
|
2017-09-15 23:24:17 +09:00 |
|
Seiichi Uchida
|
178a339fc3
|
Reorder use items inside blocks
|
2017-09-15 22:31:52 +09:00 |
|
Seiichi Uchida
|
8e5c76094d
|
Implement ptr_vec_to_ref_vec()
|
2017-09-15 22:27:20 +09:00 |
|
topecongiro
|
f0580ae91a
|
Use Cow to avoid unnecessary allocation
|
2017-09-15 18:21:06 +09:00 |
|
topecongiro
|
0b3b89d51f
|
Remove unnecessary return
|
2017-09-15 17:09:45 +09:00 |
|
topecongiro
|
0b5d524486
|
Remove unnecessary references
|
2017-09-15 17:09:30 +09:00 |
|
topecongiro
|
d55b3492c0
|
Rename binop_sep to binop_separator
|
2017-09-15 15:05:41 +09:00 |
|
topecongiro
|
2d21c0c30b
|
Split after the colon of type ascription
|
2017-09-15 15:04:30 +09:00 |
|
topecongiro
|
f51261e93e
|
Cargo fmt
|
2017-09-15 12:10:58 +09:00 |
|
topecongiro
|
45e48ec424
|
Add a new config option to control the placement of a binary operator
|
2017-09-15 12:10:30 +09:00 |
|