Created tests/rustdoc/macro subfolder to limit number of files at the top level

This commit is contained in:
Guillaume Gomez 2025-05-05 16:40:02 +02:00
parent eee6c97535
commit d1f4a0bcb6
29 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,20 @@
pub struct Option;
impl Option {
pub fn unwrap(self) {}
}
mod macros {
use crate::Option;
/// [`Option::unwrap`]
#[macro_export]
macro_rules! print {
() => ()
}
}
mod structs {
use crate::Option;
/// [`Option::unwrap`]
pub struct Print;
}
pub use structs::Print;