about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-10-25 14:31:08 +0200
committerGitHub <noreply@github.com>2018-10-25 14:31:08 +0200
commit823244ac0459fb9d85bf97fe7d5c6afaa0964870 (patch)
treebfa130ffda7e50741b62df1c739ac020567e751f
parentf740b8a4de449ff4aa1c7ca9c7fda53a4ee5d313 (diff)
parent9f7009628fcfdd6ba6bb8e8effb27abcac1cf13b (diff)
Rollup merge of #55251 - NieDzejkob:master, r=TimNN
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`.