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
|
c66560fee6
|
Add a test for #2003
|
2017-09-28 20:15:33 +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 |
|
Seiichi Uchida
|
26fa7515e5
|
Merge pull request #2004 from topecongiro/0.2.8
nightly-0.2.8
|
2017-09-28 20:01:46 +09:00 |
|
topecongiro
|
45146e16ee
|
nightly-0.2.8
|
2017-09-28 18:11:23 +09:00 |
|
topecongiro
|
bfac2755d4
|
Cargo update
|
2017-09-28 18:11:18 +09:00 |
|
Seiichi Uchida
|
e16c56bf13
|
Merge pull request #2000 from Badel2/dotdoteq
Support for `..=` syntax
|
2017-09-28 18:06:56 +09:00 |
|
topecongiro
|
436a083fce
|
Change return type of rewrite_call_inner() to Option<String>
|
2017-09-28 16:33:30 +09:00 |
|
topecongiro
|
58ec7a324d
|
Update changelog
|
2017-09-28 10:09:22 +09:00 |
|
Badel2
|
feb7a6a0a6
|
Replace ... by ..= in range expr tests
|
2017-09-27 22:47:34 +02: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 |
|
Seiichi Uchida
|
22eb5241c0
|
Merge pull request #1996 from Badel2/dotdoteq
Temporarily replace `RangeEnd::Included` with `_`
|
2017-09-26 10:45:17 +09:00 |
|
Badel2
|
2f81933272
|
Temporarily replace RangeEnd::Included with _
|
2017-09-25 20:51:44 +02:00 |
|
Nick Cameron
|
e8d3a22395
|
Merge pull request #1992 from opilar/bugfix/unused
Remove unused import
|
2017-09-22 08:19:27 +12:00 |
|
opilarium
|
72a9ad6199
|
Remove unused import
|
2017-09-21 22:54:29 +03:00 |
|
Nick Cameron
|
bdf791a174
|
Comment out stdin_disable_all_formatting_test
|
2017-09-21 20:06:44 +12:00 |
|
Nick Cameron
|
02d8067f14
|
nightly-0.2.7
|
2017-09-21 10:50:45 +12:00 |
|
Nick Cameron
|
c6b3cf9828
|
Merge pull request #1983 from topecongiro/cleanup
Refactoring: clean up source code
|
2017-09-19 17:08:17 +12:00 |
|
topecongiro
|
0779962a6e
|
Add debug logging
|
2017-09-19 13:46:13 +09:00 |
|
Nick Cameron
|
e2c9e923b0
|
Merge pull request #1981 from ssilva/master
Show examples of default values first and annotate them with "(default)"
|
2017-09-19 14:44:01 +12: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 |
|
topecongiro
|
007c673012
|
Remove noisy print from test
|
2017-09-19 11:02:21 +09:00 |
|
Saulo Silva
|
131a37591d
|
Show examples of default values first and annotate them with "(default)"
|
2017-09-18 21:28:51 -04: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 |
|
Nick Cameron
|
8974f89381
|
Merge pull request #1980 from topecongiro/less-recover_comment_removed
Run recover_comment_removed() only if the text changed after format
|
2017-09-19 07:46:32 +12: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 |
|
topecongiro
|
dc26b069f6
|
Remove a duplicate test
|
2017-09-18 14:20:40 +09:00 |
|
topecongiro
|
75a36f2886
|
Add a test for 'disable_all_formatting = true' with stdin
|
2017-09-18 14:19:50 +09:00 |
|
Nick Cameron
|
3637760102
|
Merge pull request #1969 from topecongiro/deprecate-binary-search
Remove rewrite_call_with_binary_search()
|
2017-09-18 16:28:14 +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
|
5a97e37de5
|
Merge pull request #1965 from topecongiro/issue-1963
Avoid panicking when calling 'cargo fmt --all'
|
2017-09-18 00:11:17 +09: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
|
bb4a6bf66a
|
Update tests
|
2017-09-15 22:32:03 +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
|
ed2687f33b
|
Cargo update
|
2017-09-15 17:05:27 +09:00 |
|