rustlings/exercises/intro/intro2.rs

8 lines
194 B
Rust
Raw Normal View History

2021-04-24 17:15:34 +00:00
// intro2.rs
// Make the code print a greeting to the world.
2022-07-11 11:35:16 +00:00
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
2021-04-24 17:15:34 +00:00
fn main() {
2023-02-26 16:28:24 +00:00
println!("Hello {}!", "World");
2021-04-24 17:15:34 +00:00
}