rustlings/exercises/ex3.rs
2018-11-09 20:31:14 +01:00

11 lines
123 B
Rust
Executable File

// ex3.rs
// Make me compile!
struct Foo {
capacity: i32,
}
fn main() {
println!("{:?}", Foo { capacity: 3 });
}