Rollup merge of #55251 - NieDzejkob:master, r=TimNN

Fix a typo in the documentation of RangeInclusive
This commit is contained in:
Pietro Albini 2018-10-25 14:31:08 +02:00 committed by GitHub
commit 823244ac04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`.