More code.
Change-Id: I565975f1936bcdf993c0b17175a1906a1561130e
diff --git a/src/bin/tut1a.rs b/src/bin/tut1a.rs
new file mode 100644
index 0000000..62b70d1
--- /dev/null
+++ b/src/bin/tut1a.rs
@@ -0,0 +1,20 @@
+// Structs, Borrowing
+
+#![allow(dead_code)]
+
+use rust_tutorial::*;
+
+fn greet_person(p: Person) {
+ println!("Hello {} ({})!", p.name, p.age);
+}
+
+fn main() {
+ // -- Struct instantiation --
+ let p = Person {
+ age: dbg!(20 + 10),
+ name: "Mary".to_string(),
+ };
+
+ //greet_person(p);
+ //greet_person(p);
+}