mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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() {}
|