You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
206 B
Rust
16 lines
206 B
Rust
6 years ago
|
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() -> () {
|
||
|
//
|
||
|
}
|
||
|
}
|