diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-15 21:29:04 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-03-15 23:12:07 -0700 |
| commit | 2ef7d135a9b8158af85c082fe16fe3d866bf2fec (patch) | |
| tree | 8521be8d0afd4cddb6ccb22b5c667aab204b1b27 /src | |
| parent | f5da4881dc19e99443da83f7c3210bfbd2591722 (diff) | |
Comments only: associate core::iter FIXMEs with issue numbers
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/iter.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index 7fd98d6e97c..1124bd1af66 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -104,6 +104,7 @@ fn to_list<A:copy,IA:iterable<A>>(self: IA) -> [A] { } // FIXME: This could be made more efficient with an riterable interface +// #2005 fn reversed<A:copy,IA:iterable<A>>(self: IA, blk: fn(A)) { vec::riter(to_list(self), blk) } @@ -131,6 +132,7 @@ fn min<A:copy,IA:iterable<A>>(self: IA) -> A { alt a { some(a_) if a_ < b { // FIXME: Not sure if this is successfully optimized to a move + // #2005 a } _ { some(b) } @@ -146,6 +148,7 @@ fn max<A:copy,IA:iterable<A>>(self: IA) -> A { alt a { some(a_) if a_ > b { // FIXME: Not sure if this is successfully optimized to a move + // #2005 a } _ { some(b) } |
