mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
16 lines
226 B
Rust
16 lines
226 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() {}
|