Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit c4243a6

Browse files
committed
Update example
1 parent 636257b commit c4243a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ <h1>Rust <small>a safe, concurrent, practical language</small></h1>
157157
import io::println;
158158

159159
fn main() {
160-
for (~[1, 2, 3]).each |i| {
161-
println(#fmt("hello, %d", i));
160+
for 5.times {
161+
println("Here's some Rust!");
162162
}
163163
}
164164
</pre>

0 commit comments

Comments
 (0)