rust/tests/rustdoc/src-links/mod.rs

20 lines
289 B
Rust
Raw Normal View History

//! 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() { }