2023-04-20 16:29:14 +12:00

13 lines
235 B
Rust

// intro2.rs
// Make the code print a greeting to the world.
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
fn main() {
let mut world = String::from("World");
println!("Hello {world}!");
}