From 003120aa191845c1e57467dc4a2cb6140e5689a2 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Fri, 4 Mar 2016 18:39:25 -0500 Subject: [PATCH] add more unstable annotations --- src/libcore/ops.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index e5a51c98acacb..6f8ac078807b7 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -1538,15 +1538,30 @@ impl fmt::Debug for RangeTo { #[unstable(feature = "inclusive_range", reason = "recently added, follows RFC", issue = "28237")] pub enum RangeInclusive { /// Empty range (iteration has finished) + #[unstable(feature = "inclusive_range", + reason = "recently added, follows RFC", + issue = "28237")] Empty { /// The point at which iteration finished + #[unstable(feature = "inclusive_range", + reason = "recently added, follows RFC", + issue = "28237")] at: Idx }, /// Non-empty range (iteration will yield value(s)) + #[unstable(feature = "inclusive_range", + reason = "recently added, follows RFC", + issue = "28237")] NonEmpty { /// The lower bound of the range (inclusive). + #[unstable(feature = "inclusive_range", + reason = "recently added, follows RFC", + issue = "28237")] start: Idx, /// The upper bound of the range (inclusive). + #[unstable(feature = "inclusive_range", + reason = "recently added, follows RFC", + issue = "28237")] end: Idx, }, }