diff --git a/src/main.rs b/src/main.rs index fe088bc..1748a6e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,13 @@ fn main() { gm_to_rust(); + say_name("Eleazar"); } // function to print GM Rust! fn gm_to_rust() { println!("GM Rust!"); -} \ No newline at end of file +} + +fn say_name(name: &str) { + println!("{}", name); +}