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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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