mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-21 21:42:23 -05:00
Create ex3.rs
This commit is contained in:
parent
f238bdc34e
commit
12be375529
1 changed files with 9 additions and 0 deletions
9
ex3.rs
Normal file
9
ex3.rs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
// Make me compile!
|
||||||
|
|
||||||
|
struct Foo {
|
||||||
|
capacity: i32,
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("{:?}", Foo { capacity: 3 });
|
||||||
|
}
|
Loading…
Reference in a new issue