]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/auxiliary/issue-99221-aux.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / rustdoc / auxiliary / issue-99221-aux.rs
1 pub struct Option;
2 impl Option {
3     pub fn unwrap(self) {}
4 }
5
6 mod macros {
7     use crate::Option;
8     /// [`Option::unwrap`]
9     #[macro_export]
10     macro_rules! print {
11         () => ()
12     }
13 }
14
15 mod structs {
16     use crate::Option;
17     /// [`Option::unwrap`]
18     pub struct Print;
19 }
20 pub use structs::Print;