Created
May 22, 2014 16:06
-
-
Save SiegeLord/a9149a22aed8c4417145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io; | |
fn main() | |
{ | |
match io::stdin().read_line().unwrap().as_slice().trim() | |
{ | |
"abc" => println!("def"), | |
_ => () | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment