mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
10 lines
189 B
Rust
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() {}
|