about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Kądziołka <kuba@kadziolka.net>2018-10-21 23:42:19 +0200
committerGitHub <noreply@github.com>2018-10-21 23:42:19 +0200
commit9f7009628fcfdd6ba6bb8e8effb27abcac1cf13b (patch)
treebd39c8b6a4c6d43367e3a2dc17af9520c1fb68f8
parent12a88a6b098ce24038beb4857f3bba7ebe078c6b (diff)
downloadrust-9f7009628fcfdd6ba6bb8e8effb27abcac1cf13b.tar.gz
rust-9f7009628fcfdd6ba6bb8e8effb27abcac1cf13b.zip
Fix a typo in the documentation of RangeInclusive
-rw-r--r--src/libcore/ops/range.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs
index 07ba285ea5c..fd3e50998fe 100644
--- a/src/libcore/ops/range.rs
+++ b/src/libcore/ops/range.rs
@@ -304,7 +304,7 @@ impl<Idx: PartialOrd<Idx>> RangeTo<Idx> {
     }
 }
 
-/// An range bounded inclusively below and above (`start..=end`).
+/// A range bounded inclusively below and above (`start..=end`).
 ///
 /// The `RangeInclusive` `start..=end` contains all values with `x >= start`
 /// and `x <= end`.  It is empty unless `start <= end`.