Add more from the std

This commit is contained in:
2026-03-17 22:51:36 +01:00
parent 9958b23c89
commit 72989d86a8
29 changed files with 2822 additions and 33 deletions

View File

@@ -84,7 +84,7 @@
use core::clone::CloneToUninit;
use crate::borrow::{Borrow, Cow};
use alloc::collections::TryReserveError;
use alloc_crate::collections::TryReserveError;
use crate::error::Error;
use crate::ffi::{OsStr, OsString, os_str};
use crate::hash::{Hash, Hasher};
@@ -92,7 +92,7 @@ use crate::iter::FusedIterator;
use crate::ops::{self, Deref};
use crate::rc::Rc;
use crate::str::FromStr;
use alloc::sync::Arc;
use alloc_crate::sync::Arc;
use crate::sys::path::{HAS_PREFIXES, MAIN_SEP_STR, is_sep_byte, is_verbatim_sep, parse_prefix};
use crate::{cmp, fmt, fs, io, sys};