Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
src
/
tools
/
rustfmt
/
tests
/
source
/
doc-comment-with-example.rs
blob: e74ceefd195888fb0c7cebd8185d90bab051d329 [
file
] [
log
] [
blame
]
// 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
()
{}