diff --git a/codes/control/1.rs b/codes/control/1.rs deleted file mode 100644 index 9404fa8fca289431b130624c64bc25e481b01943..0000000000000000000000000000000000000000 --- 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