8 Commits

Author SHA1 Message Date
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
651dae30f1
Merge pull request #2436 from topecongiro/markdown-spaces
Preserve trailing two whitespace in comments
2018-02-16 13:51:37 +13: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