This repository has been archived on 2023-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
rustlings-exercises-completed/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 });
}