@@ -1287,7 +1287,6 @@ impl<T> [T] {
1287
1287
/// // let chunks: &[[_; 0]] = slice.as_chunks_unchecked() // Zero-length chunks are never allowed
1288
1288
/// ```
1289
1289
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1290
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1291
1290
#[ inline]
1292
1291
#[ must_use]
1293
1292
pub const unsafe fn as_chunks_unchecked < const N : usize > ( & self ) -> & [ [ T ; N ] ] {
@@ -1333,7 +1332,6 @@ impl<T> [T] {
1333
1332
/// assert_eq!(chunks, &[['R', 'u'], ['s', 't']]);
1334
1333
/// ```
1335
1334
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1336
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1337
1335
#[ inline]
1338
1336
#[ track_caller]
1339
1337
#[ must_use]
@@ -1368,7 +1366,6 @@ impl<T> [T] {
1368
1366
/// assert_eq!(chunks, &[['o', 'r'], ['e', 'm']]);
1369
1367
/// ```
1370
1368
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1371
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1372
1369
#[ inline]
1373
1370
#[ track_caller]
1374
1371
#[ must_use]
@@ -1448,7 +1445,6 @@ impl<T> [T] {
1448
1445
/// // let chunks: &[[_; 0]] = slice.as_chunks_unchecked_mut() // Zero-length chunks are never allowed
1449
1446
/// ```
1450
1447
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1451
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1452
1448
#[ inline]
1453
1449
#[ must_use]
1454
1450
pub const unsafe fn as_chunks_unchecked_mut < const N : usize > ( & mut self ) -> & mut [ [ T ; N ] ] {
@@ -1489,7 +1485,6 @@ impl<T> [T] {
1489
1485
/// assert_eq!(v, &[1, 1, 2, 2, 9]);
1490
1486
/// ```
1491
1487
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1492
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1493
1488
#[ inline]
1494
1489
#[ track_caller]
1495
1490
#[ must_use]
@@ -1530,7 +1525,6 @@ impl<T> [T] {
1530
1525
/// assert_eq!(v, &[9, 1, 1, 2, 2]);
1531
1526
/// ```
1532
1527
#[ unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1533
- #[ rustc_const_unstable( feature = "slice_as_chunks" , issue = "74985" ) ]
1534
1528
#[ inline]
1535
1529
#[ track_caller]
1536
1530
#[ must_use]
0 commit comments