rust/tests/rustdoc/inline_cross/auxiliary/impl-inline-without-trait.rs

9 lines
135 B
Rust
Raw Normal View History

pub trait MyTrait {
/// docs for my_trait_method
fn my_trait_method() {}
}
pub struct MyStruct;
impl MyTrait for MyStruct {}