1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
use third::Baz;

/// Foo trait
pub trait Foo {
    /// bar method
    fn bar() -> ();
}

/// Foo implementation for Baz
impl Foo for Baz {
    /// bar method for Baz
    fn bar() -> () {
        //
    }
}