diff options
| author | liv <liv@fastmail.com> | 2019-01-09 21:26:12 +0100 |
|---|---|---|
| committer | liv <liv@fastmail.com> | 2019-01-09 21:26:12 +0100 |
| commit | b90f642029568dc4260601693f2e13cd41637048 (patch) | |
| tree | 6f2db90548518d51638283429142f36598f2989b /ex6.rs | |
| parent | ed89ada148907a6b05b8a2357267931e3c3b6c8f (diff) | |
remove the ex*.rs files
Diffstat (limited to 'ex6.rs')
| -rw-r--r-- | ex6.rs | 47 |
1 files changed, 0 insertions, 47 deletions
@@ -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; |
