Commit graph

4498 commits

Author SHA1 Message Date
Seiichi Uchida
0482ac88f4
Merge pull request #3548 from bash/normalize-multiline-doc-attributes
Fix normalisation of multiline doc attributes
2019-05-20 16:46:52 +09:00
Ruben Schmidmeister
1ba35fc9b5
Document DocCommentFormatter 2019-05-18 11:50:09 +02:00
Ruben Schmidmeister
11a68d313a
Pass string instead of Symbol to DocCommentFormatter 2019-05-18 11:47:54 +02:00
Ruben Schmidmeister
8d4cb6e783
Use peek() instead of checking indexes 2019-05-18 11:42:49 +02:00
Ruben Schmidmeister
9b98dd774e
Merge branch 'master' into normalize-multiline-doc-attributes 2019-05-18 11:27:35 +02:00
Seiichi Uchida
421ed946bf
Merge pull request #3558 from bash/unstable-tests
Add option to run a test only on nightly
2019-05-18 17:51:25 +09:00
Seiichi Uchida
e6d616e820
Update .travis.yml 2019-05-18 16:13:34 +09:00
Ruben Schmidmeister
8b57668c33
Move macro to separate module 2019-05-17 16:13:46 +02:00
Ruben Schmidmeister
4745cec7f3
Re-use nightly channel macro 2019-05-17 16:07:49 +02:00
Ruben Schmidmeister
fd22c27c47
Allow tests to be run on nightly only 2019-05-17 15:58:01 +02:00
Stéphane Campinas
c97aa152da
Merge pull request #3555 from rchaser53/issue-3554
fix `Const generics are handled incorrectly`
2019-05-17 00:23:37 +02:00
rchaser53
53142b486d use the span between the self_ty and left brace 2019-05-16 21:27:34 +09:00
rchaser53
bdf105245b fix Const generics are handled incorrectly 2019-05-16 13:22:25 +09:00
Seiichi Uchida
531b2d9136
Merge pull request #3535 from xiongmao86/issue3417
Try to solve issue 3417.
2019-05-16 11:12:56 +09:00
Seiichi Uchida
0101e2bbec
Merge pull request #3553 from bash/minor-refactorings
Minor refactorings
2019-05-16 11:10:33 +09:00
Ruben Schmidmeister
424193041f
Remove unnecessary comma 2019-05-15 18:29:04 +02:00
Ruben Schmidmeister
c84785d93c
Use raw strings 2019-05-15 18:17:48 +02:00
Ruben Schmidmeister
c724528bf9
Avoid unnecessary allocation 2019-05-15 17:39:43 +02:00
Ruben Schmidmeister
6a406a822d
Return iterator instead of collecting early 2019-05-14 20:38:28 +02:00
Ruben Schmidmeister
b875fe9485
Name field more verbosely
This makes the comment above it obsolete
2019-05-14 20:23:55 +02:00
Ruben Schmidmeister
3eb8e4d33c
Ignore unstable key when overriding config 2019-05-13 09:40:16 +02:00
Ruben Schmidmeister
4ac0d35ebb
Only run test on nightly 2019-05-12 23:03:48 +02:00
Ruben Schmidmeister
47a0f78b3b
Fix normalisation of multi-line doc attributes 2019-05-11 15:07:16 +02:00
Ruben Schmidmeister
7fc181d111
Add regression test 2019-05-11 15:03:59 +02:00
xiongmao86
a9932f6606 update CHANGELOG. 2019-05-10 21:29:08 +08:00
xiongmao86
a956a20532 Revert "Revert "Change config option from format_doc_comments to format_code_in_doc_comments.""
This reverts commit 97d7216cd4.
2019-05-10 21:22:52 +08:00
Stéphane Campinas
cc97eaf9f9
Merge pull request #3546 from bash/unreachable-pub
Enable unreachable_pub lint
2019-05-10 09:59:07 +02:00
Stéphane Campinas
4bc5911348
Merge pull request #3526 from bash/refactor-apply-newline-style
Refactor apply newline style
2019-05-10 09:48:01 +02:00
Seiichi Uchida
509f4c2154
Merge pull request #3545 from euclio/serde-derive
use `derive` feature over `serde_derive` crate
2019-05-10 13:56:25 +09:00
Ruben Schmidmeister
d1c1f8e61e
Run rustfmt 2019-05-09 21:13:32 +02:00
Ruben Schmidmeister
618d092bf7
Enable unreachable_pub lint 2019-05-09 20:37:51 +02:00
Andy Russell
ee6f686cc9
use derive feature over serde_derive crate 2019-05-09 13:22:44 -04:00
Ruben Schmidmeister
821a370417
Add tests to cover more edge cases 2019-05-09 17:51:02 +02:00
Ruben Schmidmeister
1f09d94cbb
Make sure windows newlines don't gain an extra carriage return 2019-05-09 17:44:52 +02:00
Ruben Schmidmeister
f54fc2f2fc
Implement conversion to unix newlines 2019-05-09 17:22:16 +02:00
Seiichi Uchida
a2264cb549
Merge pull request #3486 from scampi/issue-3197
add document describing rustfmt's stabilisation process
2019-05-09 13:37:34 +09:00
Stéphane Campinas
c7d6dc4963
add a condition to the stabilisation process of a option on its design being sound 2019-05-09 00:05:53 +02:00
xiongmao86
de425f1eb8 Fix docs in Configurations.md. 2019-05-08 16:56:53 +08:00
xiongmao86
97d7216cd4 Revert "Change config option from format_doc_comments to format_code_in_doc_comments."
This reverts commit 6a6924c12b.
2019-05-08 16:51:32 +08:00
Stéphane Campinas
da1e3c9635
Merge pull request #3540 from rchaser53/issue-3539
correct to get wrong BytePos
2019-05-06 22:31:38 +02:00
Stéphane Campinas
467c53febe
Merge pull request #3541 from davidalber/fix-condition-typo
Fix condition typo
2019-05-06 22:25:10 +02:00
xiongmao86
6a6924c12b Change config option from format_doc_comments to format_code_in_doc_comments. 2019-05-06 19:45:34 +08:00
David Alber
bfe5e9c108 Fix condition typo 2019-05-05 11:55:11 -07:00
rchaser53
7a93a26aad correct to get wrong BytePos 2019-05-06 00:01:13 +09:00
xiongmao86
3300bb22a5 Isolate format_doc_comment with normalize_comments and wrap_comments. 2019-05-02 21:11:13 +08:00
Ruben Schmidmeister
703a2eab19
Merge remote-tracking branch 'origin/master' into refactor-apply-newline-style 2019-05-02 06:47:41 +02:00
xiongmao86
a653e30d9f Add tests for #3417. 2019-05-01 16:27:34 +08:00
Stéphane Campinas
8c94e2b104
Merge pull request #3533 from rchaser53/issue-3532
fix Comma in comment causes no formatting
2019-05-01 09:48:27 +02:00
rchaser53
2c58b205d5 fix Comma in comment causes no formatting 2019-04-29 21:38:38 +09:00
Seiichi Uchida
d3ec4609d6
Merge pull request #3484 from topecongiro/config_derive
Add config_proc_macro
2019-04-29 11:04:28 +09:00