rust/tests/rustdoc/doctest/doctest-markdown-trailing-docblock-48377.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
226 B
Rust
Raw Permalink Normal View History

2018-02-20 13:30:29 -06:00
//@ compile-flags:--test
2023-11-20 12:50:25 -06:00
// https://github.com/rust-lang/rust/issues/48377
2018-02-20 13:30:29 -06:00
//! This is a doc comment
//!
//! ```rust
//! fn main() {}
//! ```
//!
//! With a trailing code fence
//! ```
/// Some foo function
pub fn foo() {}