Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
src
/
tools
/
rustfmt
/
tests
/
source
/
doc-comment-with-example.rs
blob: b5b0044720b76ee2426268cc15dba590ccacf446 [
file
]
//@ 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
()
{}