diff --git a/doc/tutorial.md b/doc/tutorial.md index 80c39ded41cbe..dc0ec893636ef 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -206,8 +206,8 @@ Rust program files are, by convention, given the extension `.rs`. Say we have a file `hello.rs` containing this program: ~~~~ -fn main(args: ~[~str]) { - io::println(~"hello world from '" + args[0] + ~"'!"); +fn main(args: ~[str]) { + io::println("hello world from '" + args[0] + "'!"); } ~~~~