You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
impl<A:Add<A,A> + Clone>Iterator<A>forCounter<A>{[...]#[inline]
fn size_hint(&self) -> (uint,Option<uint>){(uint::MAX,None)// Too bad we can't specify an infinite lower bound}}
Some iterators are infinite, size_hint should be able to return (None, None) for that. This warrants changing the type signature to (Option<uint>, Option<uint>).