]> git.lizzy.rs Git - rust.git/commit
Support pre- and post-comments for enums
authormwiczer <wiczerm@gmail.com>
Wed, 7 Oct 2015 23:23:07 +0000 (19:23 -0400)
committermwiczer <wiczerm@gmail.com>
Thu, 8 Oct 2015 21:22:57 +0000 (17:22 -0400)
commit5162282b6060349a672419fb86cdb2a46b59d113
treead21dc82debc3ffddad10f3b790a9c49a2f1d539
parent8880c0e5d3963c2ec75e22e70421d7185e746c7c
Support pre- and post-comments for enums

Use lists to format enum variants rather than special formatting.
Add tests for enums mostly around block comments.
src/items.rs
src/lists.rs
tests/source/enum.rs [new file with mode: 0644]
tests/source/structs.rs
tests/target/enum.rs
tests/target/structs.rs