Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d1f4a0b

Browse files
Created tests/rustdoc/macro subfolder to limit number of files at the top level
1 parent eee6c97 commit d1f4a0b

29 files changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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;
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)