Skip to content

Commit

Permalink
Rollup merge of rust-lang#55251 - NieDzejkob:master, r=TimNN
Browse files Browse the repository at this point in the history
Fix a typo in the documentation of RangeInclusive
  • Loading branch information
pietroalbini authored Oct 23, 2018
2 parents 9687c02 + 9f70096 commit 7f46193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/ops/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 7f46193

Please sign in to comment.