summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/doc-comment-with-example.rs
blob: c5a4e779ea224c9b2e9932100f8d1d0713356a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
// rustfmt-format_code_in_doc_comments: true

/// Foo
///
/// # Example
/// ```
/// # #![cfg_attr(not(dox), feature(cfg_target_feature, target_feature, stdsimd))]
/// # #![cfg_attr(not(dox), no_std)]
/// fn foo() {}
/// ```
fn foo() {}