doc: std::ops md formatting fix
This commit is contained in:
parent
3313e50594
commit
223cd21023
1 changed files with 1 additions and 0 deletions
|
@ -1608,6 +1608,7 @@ impl<Idx: PartialOrd<Idx>> RangeFrom<Idx> {
|
|||
/// See the [`contains()`](#method.contains) method for its characterization.
|
||||
///
|
||||
/// It cannot serve as an iterator because it doesn't have a starting point.
|
||||
///
|
||||
/// ```
|
||||
/// fn main() {
|
||||
/// assert_eq!((..5), std::ops::RangeTo{ end: 5 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue