rust/tests/target/issue-1703.rs

10 lines
189 B
Rust
Raw Normal View History

2017-06-16 15:44:54 -05:00
// rustfmt should not remove doc comments or comments inside attributes.
/**
This function has a block doc comment.
*/
fn test_function() {}
#[foo /* do not remove this! */]
fn foo() {}