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

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

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