about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-09-14 16:33:19 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-09-14 16:33:19 -0400
commit561f1b006321501dfe5a059444fc8f560010c2ba (patch)
treec860fa878b5f8c4286258554f6cb720f913895a0 /src/libstd
parentbca015d9ffd94c36fc8e1b4f30727f71e5ce579f (diff)
downloadrust-561f1b006321501dfe5a059444fc8f560010c2ba.tar.gz
rust-561f1b006321501dfe5a059444fc8f560010c2ba.zip
iter: fix range docstrings
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/iter.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/iter.rs b/src/libstd/iter.rs
index ec3c02a31f2..a0de8b1efad 100644
--- a/src/libstd/iter.rs
+++ b/src/libstd/iter.rs
@@ -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>,