Skip to content

Commit 663c096

Browse files
committed
Cleanup a use in a raw_vec test
`allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported through `super::*`.
1 parent 295d980 commit 663c096

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)