about summary refs log tree commit diff
path: root/tests/source/structs.rs
AgeCommit message (Collapse)AuthorLines
2015-11-22Correct doc comment indentation for struct fieldsMarcus Klaas-0/+4
Fix https://github.com/rust-lang-nursery/rustfmt/issues/572.
2015-11-13Fix brace indentation after where clauseMarcus Klaas-0/+6
2015-11-09Merge pull request #573 from nrc/doom_panicMarcus Klaas de Vries-0/+13
Format tuple structs better
2015-11-10Option to disable line breaking in commentsNick Cameron-0/+1
Set to false by default for now, since we are having a lot of problems with comments. We should set to true once we have a better algorithm.
2015-11-09Format tuple structs betterNick Cameron-0/+13
closes #546
2015-10-19Refactor enum formattingMarcus Klaas-0/+6
2015-10-08Support pre- and post-comments for enumsmwiczer-0/+10
Use lists to format enum variants rather than special formatting. Add tests for enums mostly around block comments.
2015-09-25Use the maximum available width in struct formattingMarcus Klaas-0/+3
Previously, we'd use an approximation for the maximum width since the configuration wasn't available in `write_list`.
2015-09-02Preserve some whitespace between struct fields etc.Nick Cameron-0/+28
2015-08-21Fix bug in path formattingMarcus Klaas-0/+6
2015-06-23Format tuple-like structsMarcus Klaas-0/+70