Cleanup liballoc use statements
Some modules were still using the deprecated `allocator` module, use the `alloc` module instead. Some modules were using `super` while it's not needed. Some modules were more or less ordering them, and other not, so the latter have been modified to match the others.
This commit is contained in:
parent
9c2bfcbea2
commit
bd9ff8476d
6 changed files with 15 additions and 15 deletions
|
@ -82,11 +82,11 @@ use core::ptr;
|
|||
use core::ptr::NonNull;
|
||||
use core::slice;
|
||||
|
||||
use alloc::CollectionAllocErr;
|
||||
use borrow::ToOwned;
|
||||
use borrow::Cow;
|
||||
use boxed::Box;
|
||||
use raw_vec::RawVec;
|
||||
use super::allocator::CollectionAllocErr;
|
||||
|
||||
/// A contiguous growable array type, written `Vec<T>` but pronounced 'vector'.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue