rustlings-solutions/exercises/ex2.rs

11 lines
118 B
Rust
Raw Normal View History

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