Skip to content

Commit 553d25e

Browse files
committed
Rollup merge of #50527 - glandium:cleanup, r=sfackler
Cleanup a `use` in a raw_vec test `allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported through `super::*`.
2 parents 4924fea + 663c096 commit 553d25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/raw_vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ mod tests {
748748

749749
#[test]
750750
fn allocator_param() {
751-
use allocator::{Alloc, AllocErr};
751+
use alloc::AllocErr;
752752

753753
// Writing a test of integration between third-party
754754
// allocators and RawVec is a little tricky because the RawVec

0 commit comments

Comments
 (0)