Add more from the std
This commit is contained in:
@@ -6,12 +6,12 @@ mod tests;
|
||||
use core::clone::CloneToUninit;
|
||||
|
||||
use crate::borrow::{Borrow, Cow};
|
||||
use alloc::collections::TryReserveError;
|
||||
use alloc_crate::collections::TryReserveError;
|
||||
use crate::hash::{Hash, Hasher};
|
||||
use crate::ops::{self, Range};
|
||||
use crate::rc::Rc;
|
||||
use crate::str::FromStr;
|
||||
use alloc::sync::Arc;
|
||||
use alloc_crate::sync::Arc;
|
||||
use crate::sys::os_str::{Buf, Slice};
|
||||
use crate::sys::{AsInner, FromInner, IntoInner};
|
||||
use crate::{cmp, fmt, slice};
|
||||
@@ -1658,7 +1658,7 @@ impl fmt::Display for Display<'_> {
|
||||
}
|
||||
|
||||
#[unstable(feature = "slice_concat_ext", issue = "27747")]
|
||||
impl<S: Borrow<OsStr>> alloc::slice::Join<&OsStr> for [S] {
|
||||
impl<S: Borrow<OsStr>> alloc_crate::slice::Join<&OsStr> for [S] {
|
||||
type Output = OsString;
|
||||
|
||||
fn join(slice: &Self, sep: &OsStr) -> OsString {
|
||||
|
||||
Reference in New Issue
Block a user