@@ -1306,7 +1306,6 @@ impl<T> [T] {
1306
1306
/// // let chunks: &[[_; 0]] = slice.as_chunks_unchecked() // Zero-length chunks are never allowed
1307
1307
/// ```
1308
1308
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1309
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1310
1309
#[ inline]
1311
1310
#[ must_use]
1312
1311
pub const unsafe fn as_chunks_unchecked < const N : usize > ( & self ) -> & [ [ T ; N ] ] {
@@ -1352,7 +1351,6 @@ impl<T> [T] {
1352
1351
/// assert_eq!(chunks, &[['R', 'u'], ['s', 't']]);
1353
1352
/// ```
1354
1353
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1355
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1356
1354
#[ inline]
1357
1355
#[ track_caller]
1358
1356
#[ must_use]
@@ -1387,7 +1385,6 @@ impl<T> [T] {
1387
1385
/// assert_eq!(chunks, &[['o', 'r'], ['e', 'm']]);
1388
1386
/// ```
1389
1387
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1390
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1391
1388
#[ inline]
1392
1389
#[ track_caller]
1393
1390
#[ must_use]
@@ -1466,7 +1463,6 @@ impl<T> [T] {
1466
1463
/// // let chunks: &[[_; 0]] = slice.as_chunks_unchecked_mut() // Zero-length chunks are never allowed
1467
1464
/// ```
1468
1465
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1469
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1470
1466
#[ inline]
1471
1467
#[ must_use]
1472
1468
pub const unsafe fn as_chunks_unchecked_mut < const N : usize > ( & mut self ) -> & mut [ [ T ; N ] ] {
@@ -1507,7 +1503,6 @@ impl<T> [T] {
1507
1503
/// assert_eq!(v, &[1, 1, 2, 2, 9]);
1508
1504
/// ```
1509
1505
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1510
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1511
1506
#[ inline]
1512
1507
#[ track_caller]
1513
1508
#[ must_use]
@@ -1548,7 +1543,6 @@ impl<T> [T] {
1548
1543
/// assert_eq!(v, &[9, 1, 1, 2, 2]);
1549
1544
/// ```
1550
1545
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1551
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1552
1546
#[ inline]
1553
1547
#[ track_caller]
1554
1548
#[ must_use]
0 commit comments