diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 5e1210b2ff9b..7258c8a1b6b3 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -1608,6 +1608,7 @@ impl> RangeFrom { /// 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 });