Skip to content

Commit

Permalink
Cleanup a use in a raw_vec test
Browse files Browse the repository at this point in the history
`allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported
through `super::*`.
  • Loading branch information
glandium committed May 8, 2018
1 parent 295d980 commit 663c096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/raw_vec.rs
Expand Up @@ -748,7 +748,7 @@ mod tests {

#[test]
fn allocator_param() {
use allocator::{Alloc, AllocErr};
use alloc::AllocErr;

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

0 comments on commit 663c096

Please sign in to comment.