1
Fork 0

library: Move CStr to libcore, and CString to liballoc

This commit is contained in:
Vadim Petrochenkov 2022-02-16 19:23:37 +08:00
parent e7575f9670
commit 5bee741a08
21 changed files with 941 additions and 675 deletions

View file

@ -153,7 +153,7 @@ pub use hack::to_vec;
// functions are actually methods that are in `impl [T]` but not in
// `core::slice::SliceExt` - we need to supply these functions for the
// `test_permutations` test
mod hack {
pub(crate) mod hack {
use core::alloc::Allocator;
use crate::boxed::Box;