summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/normalize_doc_attributes_should_not_imply_format_doc_comments.rs
blob: 562d9565e9a9606aa27a7df5d553f2d47ea2decb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-normalize_doc_attributes: true

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

///Bar documents
fn bar() {}