From f238bdc34ec1eb0f3a54eced19532723f4490e34 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 14 Sep 2015 22:26:38 -0400 Subject: [PATCH] Create ex2.rs --- ex2.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ex2.rs diff --git a/ex2.rs b/ex2.rs new file mode 100644 index 0000000..b0c7ca2 --- /dev/null +++ b/ex2.rs @@ -0,0 +1,9 @@ +// Make me compile! + +fn something() -> String { + "hi!" +} + +fn main() { + println!("{}", something()); +}