rust/tests/rustdoc/src-links/mod.rs
2023-01-11 09:32:08 +00:00

20 lines
289 B
Rust

//! Dox
pub mod bar {
/// Dox
pub mod baz {
/// Dox
pub fn baz() { }
}
/// Dox
pub trait Foobar { fn dummy(&self) { } }
pub struct Foo { x: i32, y: u32 }
pub fn prawns((a, b): (i32, u32), Foo { x, y }: Foo) { }
}
/// Dox
pub fn modfn() { }