iter: fix range docstrings

This commit is contained in:
Daniel Micay 2013-09-14 16:33:19 -04:00
parent bca015d9ff
commit 561f1b0063

View File

@ -1719,7 +1719,7 @@ pub fn count<A>(start: A, step: A) -> Counter<A> {
Counter{state: start, step: step}
}
/// A range of numbers from [0, N)
/// An iterator over the range [start, stop)
#[deriving(Clone, DeepClone)]
pub struct Range<A> {
priv state: A,
@ -1765,7 +1765,7 @@ impl<A: Sub<A, A> + Integer + Ord + Clone> DoubleEndedIterator<A> for Range<A> {
}
}
/// A range of numbers from [0, N]
/// An iterator over the range [start, stop]
#[deriving(Clone, DeepClone)]
pub struct RangeInclusive<A> {
priv range: Range<A>,