rust/tests/rustdoc/doctest/doctest-markdown-trailing-docblock-48377.rs
2023-11-23 14:56:03 -07:00

16 lines
225 B
Rust

// 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() {}