]> git.lizzy.rs Git - rust.git/commitdiff
add more unstable annotations
authorAlex Burka <aburka@seas.upenn.edu>
Fri, 4 Mar 2016 23:39:25 +0000 (18:39 -0500)
committerAlex Burka <aburka@seas.upenn.edu>
Fri, 4 Mar 2016 23:39:25 +0000 (18:39 -0500)
src/libcore/ops.rs

index e5a51c98acacba2f31e8fb2600b94eed25d6fb63..6f8ac078807b72648831feb1423962302e825df2 100644 (file)
@@ -1538,15 +1538,30 @@ fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
 #[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,
     },
 }