topecongiro
|
0f706cd452
|
Add a test for #2487
|
2018-02-24 11:48:07 +09:00 |
|
topecongiro
|
eea5dcac46
|
Add a test for #2414
Closes #2414.
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
391ed68ad4
|
Move type punctuation tests under config dir
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
e2e653bc8f
|
Remove unused tests
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
94188f5a28
|
Remove unused tests
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
871a18ac13
|
Mention that doc.rs is a part of multiple.rs
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
128925dcb4
|
Use visual indent style in where-clause.rs
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
758c54e9d5
|
Update big-impl tests
big-impl.rs and big-impl-rfc.rs is identical. One of them should use visual
indent style, and their file name should reflect that.
|
2018-02-23 22:53:16 +09:00 |
|
topecongiro
|
093633ecb7
|
Update tests for #2438 and #2476
|
2018-02-23 08:10:17 +09:00 |
|
topecongiro
|
b4c85d1bcb
|
Return the original snippet if the attribute contains invalid syntax
This allows us to keep formatting the macro def with attributes that become
invalid syntax when the `$` is replaced with `z`, e.g. `#[doc = $expr]`.
|
2018-02-20 14:48:46 +09:00 |
|
topecongiro
|
37f82a0c95
|
Skip formatting macro_rules! that are not using {}
|
2018-02-19 14:08:33 +09:00 |
|
topecongiro
|
ea3c01e337
|
Format a match arm with the beginning vertical bar
|
2018-02-18 10:31:11 +09:00 |
|
Christopher Armstrong
|
bd0facd4ce
|
only wrap on trailing comments, allow /* */ comments in-line
|
2018-02-16 21:52:08 -06:00 |
|
Christopher Armstrong
|
f5c46559d6
|
hacky solution that makes the tests pass but should really be better
|
2018-02-16 14:14:34 -06:00 |
|
Christopher Armstrong
|
4528a570b8
|
test case for issue #2446
|
2018-02-16 14:14:34 -06:00 |
|
Nick Cameron
|
7293a8b122
|
Merge pull request #2450 from topecongiro/issue-37
Preserve trailing spaces in doc comments even when options are set
|
2018-02-16 18:08:27 +13:00 |
|
Seiichi Uchida
|
b60d9b0d4f
|
Preserve trailing spaces in doc comments even when options are set
Closes #37.
|
2018-02-16 10:14:06 +09:00 |
|
Nick Cameron
|
99faae6648
|
Merge pull request #2443 from topecongiro/skip-children
Do not try to parse external modules when skipping children
|
2018-02-16 14:07:29 +13:00 |
|
Nick Cameron
|
651dae30f1
|
Merge pull request #2436 from topecongiro/markdown-spaces
Preserve trailing two whitespace in comments
|
2018-02-16 13:51:37 +13:00 |
|
Seiichi Uchida
|
bc12c84d2f
|
Do not try to parse external modules when skipping children
|
2018-02-15 22:48:06 +09:00 |
|
topecongiro
|
6f38a4aeab
|
Preserve two or more trailing spaces in doc comment
rustdoc treats two or more trailing spaces as a line break.
|
2018-02-15 16:41:47 +09:00 |
|
topecongiro
|
296018afe7
|
Preserve trailing whitespaces only for doc comment
|
2018-02-15 16:34:22 +09:00 |
|
topecongiro
|
785da7439f
|
Return None when format_code_block may have failed
|
2018-02-14 19:00:45 +09:00 |
|
topecongiro
|
b49b30746d
|
Disable formatting macro-def if args do not fit on one line
|
2018-02-14 04:00:26 +09:00 |
|
Seiichi Uchida
|
fe30dab017
|
Preserve trailing two whitespace in comments
Closes #2434.
|
2018-02-13 19:39:37 +09:00 |
|
topecongiro
|
4af2aa3a9e
|
Create rustfmt_core crate
|
2018-02-07 22:48:05 +09:00 |
|