rustlings-solutions/exercises/00_intro/intro2.rs

12 lines
228 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 par: &str = "world";
println!("Hello {}!", par);
}