rustlings/old_curriculum/ex2.rs

11 lines
118 B
Rust
Raw Normal View History

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