Add slice::try_range
This commit is contained in:
parent
fa9f77ff35
commit
290cbdf50e
3 changed files with 58 additions and 7 deletions
|
|
@ -33,8 +33,6 @@ use crate::vec::Vec;
|
|||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
#[unstable(feature = "slice_range", issue = "76393")]
|
||||
pub use core::slice::range;
|
||||
#[unstable(feature = "array_chunks", issue = "74985")]
|
||||
pub use core::slice::ArrayChunks;
|
||||
#[unstable(feature = "array_chunks", issue = "74985")]
|
||||
|
|
@ -51,6 +49,8 @@ pub use core::slice::{from_mut, from_ref};
|
|||
pub use core::slice::{from_mut_ptr_range, from_ptr_range};
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub use core::slice::{from_raw_parts, from_raw_parts_mut};
|
||||
#[unstable(feature = "slice_range", issue = "76393")]
|
||||
pub use core::slice::{range, try_range};
|
||||
#[stable(feature = "slice_group_by", since = "1.77.0")]
|
||||
pub use core::slice::{ChunkBy, ChunkByMut};
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue