rustlings/old_curriculum/ex2.rs

11 lines
118 B
Rust
Raw Normal View History

2018-02-22 13:09:53 +07:00
// ex2.rs
2015-09-15 08:26:38 +06:00
// Make me compile!
fn something() -> String {
"hi!"
}
fn main() {
println!("{}", something());
}