Rust Fundamentals · 10 XP
Hello, world
Every Rust program starts running at a function called main. To print a line of
text, use the println! macro. The ! tells you it is a macro, not a normal
function: macros can do things functions cannot, like take a variable number of
arguments and check a format string at compile time.
fn main() {
println!("Rust is fun");
}
Your task
Change the program so it prints exactly:
Hello, world!