Skip to content
Snippets Groups Projects
Commit 9123abf0 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

removed useless dir

parent 39de27a3
No related branches found
No related tags found
No related merge requests found
Pipeline #
// 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment