]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-1703.rs
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[rust.git] / src / tools / rustfmt / tests / target / issue-1703.rs
1 // rustfmt should not remove doc comments or comments inside attributes.
2
3 /**
4 This function has a block doc comment.
5  */
6 fn test_function() {}
7
8 #[foo /* do not remove this! */]
9 fn foo() {}