12 lines
170 B
Plaintext
12 lines
170 B
Plaintext
struct A {}
|
|
struct AResult { a: A }
|
|
impl A {
|
|
pub fn new() -> AResult {
|
|
AResult { a: A {} }
|
|
}
|
|
}
|
|
|
|
struct Foo {}
|
|
impl Foo {
|
|
pub fn foo(&self, a: &A) {}
|
|
} |