diff options
| author | Alex Burka <aburka@seas.upenn.edu> | 2016-03-04 18:39:25 -0500 |
|---|---|---|
| committer | Alex Burka <aburka@seas.upenn.edu> | 2016-03-04 18:39:25 -0500 |
| commit | 003120aa191845c1e57467dc4a2cb6140e5689a2 (patch) | |
| tree | f0926f4ae34d48e0dd0ecf5ab83a6e0e5ac04dbb | |
| parent | 54cb2d958681e0e643859fd324c5729fc9de6520 (diff) | |
add more unstable annotations
| -rw-r--r-- | src/libcore/ops.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index e5a51c98aca..6f8ac078807 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -1538,15 +1538,30 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeTo<Idx> { #[unstable(feature = "inclusive_range", reason = "recently added, follows RFC", issue = "28237")] pub enum RangeInclusive<Idx> { /// 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, }, } |
