From 2ef7d135a9b8158af85c082fe16fe3d866bf2fec Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Thu, 15 Mar 2012 21:29:04 -0700 Subject: [PATCH] Comments only: associate core::iter FIXMEs with issue numbers --- src/libcore/iter.rs | 3 +++ 1 file changed, 3 insertions(+) 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>(self: IA) -> [A] { } // FIXME: This could be made more efficient with an riterable interface +// #2005 fn reversed>(self: IA, blk: fn(A)) { vec::riter(to_list(self), blk) } @@ -131,6 +132,7 @@ fn min>(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>(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) }