mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-10 06:34:20 +00: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