mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
20 lines
289 B
Rust
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() { }
|