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

Commit 636257b

Browse files
committed
Fix example.
1 parent 3285372 commit 636257b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <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| {
160+
for (~[1, 2, 3]).each |i| {
161161
println(#fmt("hello, %d", i));
162162
}
163163
}

0 commit comments

Comments
 (0)