File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 0684c065a986b5c9f9c1dc6e0ebf50c3fd502c36
2
+ refs/heads/master: a04cb8ebb7e034e3ecc655cab9e3ec5f415f2cf6
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change 3
3
import std:: list:: * ;
4
4
5
5
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 + 1 u) } }
6
+ match * ls { Nil => { acc } Cons ( _, tl) => { pure_length_go ( tl, acc + 1 u) } }
7
7
}
8
8
9
9
pure fn pure_length < T : copy > ( ls : @List < T > ) -> uint { pure_length_go ( ls, 0 u) }
You can’t perform that action at this time.
0 commit comments