rust/tests/rustdoc/issue-48377.rs

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

14 lines
174 B
Rust
Raw Normal View History

2018-02-20 19:30:29 +00:00
// compile-flags:--test
//! This is a doc comment
//!
//! ```rust
//! fn main() {}
//! ```
//!
//! With a trailing code fence
//! ```
/// Some foo function
pub fn foo() {}