// compile with `rustc hello.rs`
// run with `./hello`

fn greeter(greeting_text: &str) {
    println!("Hello {}!", greeting_text);
}

fn main() {
    greeter("World");
}

// Run with `rust run hello.rs`

fn greeter(greeting_text: &str) {
    println(fmt!("Hello %s!", greeting_text));
}

fn main() {
    greeter("World");
}

--- 
+++ 
@@ -1,7 +1,8 @@
-// Run with `rust run hello.rs`
+// compile with `rustc hello.rs`
+// run with `./hello`
 
 fn greeter(greeting_text: &str) {
-    println(fmt!("Hello %s!", greeting_text));
+    println!("Hello {}!", greeting_text);
 }
 
 fn main() {
Make Rust example work in post-rust-1.0 world