Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
rustdoc
/
doctest
/
doctest-markdown-trailing-docblock-48377.rs
blob: 74c1a9d245971a51e3dd98a95a3c2f31a877a8b7 [
file
] [
log
] [
blame
]
//@ compile-flags:--test
// https://github.com/rust-lang/rust/issues/48377
//! This is a doc comment
//!
//! ```rust
//! fn main() {}
//! ```
//!
//! With a trailing code fence
//! ```
/// Some foo function
pub
fn
foo
()
{}