]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/doc-comment-with-example.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / tools / rustfmt / tests / target / doc-comment-with-example.rs
1 // rustfmt-format_code_in_doc_comments: true
2
3 /// Foo
4 ///
5 /// # Example
6 /// ```
7 /// # #![cfg_attr(not(dox), feature(cfg_target_feature, target_feature, stdsimd))]
8 /// # #![cfg_attr(not(dox), no_std)]
9 /// fn foo() {}
10 /// ```
11 fn foo() {}