From 9123abf0ba4a7d31d130c4b9aacd6a1bfcbe381a Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Thu, 28 Jun 2018 15:45:50 +0200 Subject: [PATCH] removed useless dir --- codes/control/1.rs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 codes/control/1.rs diff --git a/codes/control/1.rs b/codes/control/1.rs deleted file mode 100644 index 9404fa8..0000000 --- a/codes/control/1.rs +++ /dev/null @@ -1,17 +0,0 @@ -// Function declaration -fn add_them(first: i32, second: i32) -> i32 { - first + second -} - -fn main() { - // Mutable variable - let mut some_value = 1; - // Immutable, explict type - let explicitly_typed: i32 = 1; - - // Function call - some_value = add_them(some_value, explicitly_typed); - - // Macro, note the ! - println!("{}", some_value) -} \ No newline at end of file -- GitLab