@@ -1538,15 +1538,30 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeTo<Idx> {
1538
1538
#[ unstable( feature = "inclusive_range" , reason = "recently added, follows RFC" , issue = "28237" ) ]
1539
1539
pub enum RangeInclusive < Idx > {
1540
1540
/// Empty range (iteration has finished)
1541
+ #[ unstable( feature = "inclusive_range" ,
1542
+ reason = "recently added, follows RFC" ,
1543
+ issue = "28237" ) ]
1541
1544
Empty {
1542
1545
/// The point at which iteration finished
1546
+ #[ unstable( feature = "inclusive_range" ,
1547
+ reason = "recently added, follows RFC" ,
1548
+ issue = "28237" ) ]
1543
1549
at : Idx
1544
1550
} ,
1545
1551
/// Non-empty range (iteration will yield value(s))
1552
+ #[ unstable( feature = "inclusive_range" ,
1553
+ reason = "recently added, follows RFC" ,
1554
+ issue = "28237" ) ]
1546
1555
NonEmpty {
1547
1556
/// The lower bound of the range (inclusive).
1557
+ #[ unstable( feature = "inclusive_range" ,
1558
+ reason = "recently added, follows RFC" ,
1559
+ issue = "28237" ) ]
1548
1560
start : Idx ,
1549
1561
/// The upper bound of the range (inclusive).
1562
+ #[ unstable( feature = "inclusive_range" ,
1563
+ reason = "recently added, follows RFC" ,
1564
+ issue = "28237" ) ]
1550
1565
end : Idx ,
1551
1566
} ,
1552
1567
}
0 commit comments