Skip to content

Commit d95ab53

Browse files
committed
tutorial: Fix a test-failure due to typo
1 parent fb7f0a4 commit d95ab53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1971,7 +1971,7 @@ they apply to. Thus, Rust allows functions and datatypes to have type
19711971
parameters.
19721972
19731973
~~~~
1974-
fn for_rev<T>(vector: ~[T], action fn(T)) {
1974+
fn for_rev<T>(vector: ~[T], action: fn(T)) {
19751975
let mut i = vec::len(vector);
19761976
while i > 0u {
19771977
i -= 1u;

0 commit comments

Comments
 (0)