blob: 389c9c35101ab4367eee05aeda41003eb3487b3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
pub struct Bar(pub u8, u8, u8);
pub fn make_bar() -> Bar {
Bar(1, 12, 10)
}
mod inner {
pub struct Foo(u8, pub u8, u8);
impl Foo {
pub fn new() -> Foo {
Foo(1, 12, 10)
}
}
}
pub use inner::Foo;
|