Skip to content

Commit 03d1f24

Browse files
authored
Re-export core::slice::SplitInclusive[Mut]
1 parent 2cff30b commit 03d1f24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/alloc/src/slice.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ pub use core::slice::{RChunks, RChunksExact, RChunksExactMut, RChunksMut};
130130
pub use core::slice::{RSplit, RSplitMut};
131131
#[stable(feature = "rust1", since = "1.0.0")]
132132
pub use core::slice::{RSplitN, RSplitNMut, SplitN, SplitNMut};
133+
#[stable(feature = "split_inclusive", since = "1.51.0")]
134+
pub use core::slice::{SplitInclusive, SplitInclusiveMut};
133135

134136
////////////////////////////////////////////////////////////////////////////////
135137
// Basic slice extension methods

0 commit comments

Comments
 (0)