rust/tests/rustdoc/empty-doc-comment.rs

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

23 lines
169 B
Rust
Raw Normal View History

// Ensure that empty doc comments don't panic.
/*!
*/
///
///
pub struct Foo;
#[doc = "
"]
pub mod Mod {
//!
//!
}
/**
*/
pub mod Another {
#![doc = "
"]
}