mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 15:10:26 +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