summaryrefslogtreecommitdiff
path: root/ex3.rs
blob: db27ad2c21b77ea121221bc0a91610ba9c49775e (plain)
1
2
3
4
5
6
7
8
9
10
// ex3.rs
// Make me compile!

struct Foo {
    capacity: i32,
}

fn main() {
    println!("{:?}", Foo { capacity: 3 });
}