mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-22 00:18:09 -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