Skip to content

Commit 9f70096

Browse files
authored
Fix a typo in the documentation of RangeInclusive
1 parent 12a88a6 commit 9f70096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl<Idx: PartialOrd<Idx>> RangeTo<Idx> {
304304
}
305305
}
306306

307-
/// An range bounded inclusively below and above (`start..=end`).
307+
/// A range bounded inclusively below and above (`start..=end`).
308308
///
309309
/// The `RangeInclusive` `start..=end` contains all values with `x >= start`
310310
/// and `x <= end`. It is empty unless `start <= end`.

0 commit comments

Comments
 (0)