Skip to content

Commit a04cb8e

Browse files
committed
Fix broken test case
1 parent 0684c06 commit a04cb8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/non-boolean-pure-fns.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std;
33
import std::list::*;
44

55
pure fn pure_length_go<T: copy>(ls: @List<T>, acc: uint) -> uint {
6-
match *ls { nil => { acc } Cons(_, tl) => { pure_length_go(tl, acc + 1u) } }
6+
match *ls { Nil => { acc } Cons(_, tl) => { pure_length_go(tl, acc + 1u) } }
77
}
88

99
pure fn pure_length<T: copy>(ls: @List<T>) -> uint { pure_length_go(ls, 0u) }

0 commit comments

Comments
 (0)