diff --git a/ex2.rs b/ex2.rs new file mode 100644 index 00000000..b0c7ca22 --- /dev/null +++ b/ex2.rs @@ -0,0 +1,9 @@ +// Make me compile! + +fn something() -> String { + "hi!" +} + +fn main() { + println!("{}", something()); +}