mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 09:44:40 +00:00
12 lines
179 B
Rust
12 lines
179 B
Rust
//@ compile-flags:--remap-path-prefix={{src-base}}=
|
|
|
|
pub struct MyStruct {
|
|
field: u32,
|
|
}
|
|
|
|
impl MyStruct {
|
|
pub fn new() -> MyStruct {
|
|
MyStruct { field: 3 }
|
|
}
|
|
}
|