rustlings/exercises/intro/intro2.rs

11 lines
203 B
Rust
Raw Normal View History

2021-04-24 17:15:34 +00:00
// intro2.rs
//
2021-04-24 17:15:34 +00:00
// Make the code print a greeting to the world.
//
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
// hint.
2021-04-24 17:15:34 +00:00
fn main() {
2024-01-20 04:25:25 +00:00
println!("Hello {}!", "world");
2021-04-24 17:15:34 +00:00
}