summaryrefslogtreecommitdiff
path: root/ex6.rs
diff options
context:
space:
mode:
authorliv <liv@fastmail.com>2019-01-09 21:26:12 +0100
committerliv <liv@fastmail.com>2019-01-09 21:26:12 +0100
commitb90f642029568dc4260601693f2e13cd41637048 (patch)
tree6f2db90548518d51638283429142f36598f2989b /ex6.rs
parented89ada148907a6b05b8a2357267931e3c3b6c8f (diff)
remove the ex*.rs files
Diffstat (limited to 'ex6.rs')
-rw-r--r--ex6.rs47
1 files changed, 0 insertions, 47 deletions
diff --git a/ex6.rs b/ex6.rs
deleted file mode 100644
index 33e589d..0000000
--- a/ex6.rs
+++ /dev/null
@@ -1,47 +0,0 @@
-// ex6.rs
-// Make me compile! Scroll down for hints :)
-
-fn main() {
- let robot_name = Some(String::from("Bors"));
-
- match robot_name {
- Some(name) => println!("Found a name: {}", name),
- None => (),
- }
-
- println!("robot_name is: {:?}", robot_name);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// Hint: The following two statements are equivalent:
-// let x = &y;
-// let ref x = y;