Skip to content

Commit

Permalink
Create ex2.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Sep 15, 2015
1 parent a24f0f9 commit f238bdc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ex2.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Make me compile!

fn something() -> String {
"hi!"
}

fn main() {
println!("{}", something());
}

0 comments on commit f238bdc

Please sign in to comment.