mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
23 lines
169 B
Rust
23 lines
169 B
Rust
// Ensure that empty doc comments don't panic.
|
|
|
|
/*!
|
|
*/
|
|
|
|
///
|
|
///
|
|
pub struct Foo;
|
|
|
|
#[doc = "
|
|
"]
|
|
pub mod Mod {
|
|
//!
|
|
//!
|
|
}
|
|
|
|
/**
|
|
*/
|
|
pub mod Another {
|
|
#![doc = "
|
|
"]
|
|
}
|