diff --git a/doc/tutorial.md b/doc/tutorial.md index fbb1ca416e4cd..25077b09d5e35 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -209,8 +209,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] + "'!"); } ~~~~