Fix a typo in the documentation of RangeInclusive

This commit is contained in:
Jakub Kądziołka 2018-10-21 23:42:19 +02:00 committed by GitHub
parent 12a88a6b09
commit 9f7009628f
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`.