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

12 lines
228 B
Rust
Raw Normal View History

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