Skip to content

Commit a24b9e0

Browse files
committed
tutorial: update intro
1 parent f15ccc0 commit a24b9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ we have a file `hello.rs` containing this program:
128128

129129
~~~~
130130
fn main() {
131-
io::println("hello? yes, this is rust");
131+
io::println("hello?");
132132
}
133133
~~~~
134134

@@ -143,7 +143,7 @@ an error message like this:
143143

144144
~~~~ {.notrust}
145145
hello.rs:2:4: 2:16 error: unresolved name: io::print_with_unicorns
146-
hello.rs:2 io::print_with_unicorns("hello? yes, this is rust");
146+
hello.rs:2 io::print_with_unicorns("hello?");
147147
^~~~~~~~~~~~~~~~~~~~~~~
148148
~~~~
149149

0 commit comments

Comments
 (0)