blob: 6875ad2726d32c4d8f039d3f62faa668f6a485a0 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
 | pub struct Foo;
// just so that `Foo` doesn't show up on `Bar`s sidebar
pub mod bar {
    pub trait Bar {}
}
impl Foo {
    pub fn new() -> Foo { Foo }
}
impl bar::Bar for Foo {}
 |