summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>2015-09-14 22:26:58 -0400
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>2015-09-14 22:26:58 -0400
commit12be3755296226d22930b73f3c5d90646db8e26e (patch)
tree7268fac2dc1867d374d5d3efe28dd4c2faacda88
parentf238bdc34ec1eb0f3a54eced19532723f4490e34 (diff)
Create ex3.rs
-rw-r--r--ex3.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/ex3.rs b/ex3.rs
new file mode 100644
index 0000000..242076f
--- /dev/null
+++ b/ex3.rs
@@ -0,0 +1,9 @@
+// Make me compile!
+
+struct Foo {
+ capacity: i32,
+}
+
+fn main() {
+ println!("{:?}", Foo { capacity: 3 });
+}