move old files to a separate directory

This commit is contained in:
olivia
2018-04-26 21:29:11 +02:00
parent 32ac403da5
commit 5e89d1e888
53 changed files with 0 additions and 0 deletions

14
old_curriculum/ex4.rs Normal file
View File

@@ -0,0 +1,14 @@
// ex4.rs
// Make me compile!
fn something() -> Result<i32, std::num::ParseIntError> {
let x:i32 = "3".parse();
Ok(x * 4)
}
fn main() {
match something() {
Ok(..) => println!("You win!"),
Err(e) => println!("Oh no something went wrong: {}", e),
}
}