rust/tests/target/doc-comment-with-example.rs

12 lines
236 B
Rust
Raw Normal View History

// rustfmt-format_code_in_doc_comments: true
2018-05-23 09:29:18 -05:00
/// Foo
///
/// # Example
/// ```
/// # #![cfg_attr(not(dox), feature(cfg_target_feature, target_feature, stdsimd))]
/// # #![cfg_attr(not(dox), no_std)]
/// fn foo() {}
/// ```
fn foo() {}