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

struct Foo {
    capacity: i32,
}

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