about summary refs log tree commit diff
path: root/src/libcore/ops
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-04-06 05:21:47 +0800
committerkennytm <kennytm@gmail.com>2018-05-01 01:45:18 +0800
commitc916ee8511339dd231d90d7fe6be2cc6995284b9 (patch)
tree3764919ae310d2657c4c6e5009dd7c4c8265c7ec /src/libcore/ops
parentfba903a435ea6e0e3736541cb487586262835e48 (diff)
Removed direct field usage of RangeInclusive in rustc itself.
Diffstat (limited to 'src/libcore/ops')
-rw-r--r--src/libcore/ops/range.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs
index c1bd1ef2d1d..59ee40fdda4 100644
--- a/src/libcore/ops/range.rs
+++ b/src/libcore/ops/range.rs
@@ -318,7 +318,7 @@ impl<Idx: PartialOrd<Idx>> RangeTo<Idx> {
 /// # Examples
 ///
 /// ```
-/// #![feature(inclusive_range_fields)]
+/// #![feature(inclusive_range_methods)]
 ///
 /// assert_eq!((3..=5), std::ops::RangeInclusive::new(3, 5));
 /// assert_eq!(3 + 4 + 5, (3..=5).sum());