#![allow(unused_variables)] //! A doc comment that applies to the implicit anonymous module of this crate fn main() { //! - Inner line doc //!! - Still an inner line doc (but with a bang at the beginning) /*! - Inner block doc */ /*!! - Still an inner block doc (but with a bang at the beginning) */ pub mod outer_module { /// - Outer line doc (exactly 3 slashes) /** - Outer block doc (exactly) 2 asterisks */ pub mod inner_module { } /*! /* */ /** */ /*! */ */ pub mod nested_comments { /** /* */ /** */ /*! */ */ pub mod dummy_item { } } //! /*!*/ pub mod degenerate_cases { /// pub mod dummy_item { } } /// Where is my item? mod boo { } } }