rust/rustfmt-core/tests/target/issue-1703.rs
2018-02-07 22:48:05 +09:00

10 lines
189 B
Rust

// 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() {}