Skip to content

Commit

Permalink
Rollup merge of rust-lang#50527 - glandium:cleanup, r=sfackler
Browse files Browse the repository at this point in the history
Cleanup a `use` in a raw_vec test

`allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported
through `super::*`.
  • Loading branch information
kennytm committed May 9, 2018
2 parents 4924fea + 663c096 commit 553d25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/raw_vec.rs
Original file line number Diff line number Diff line change
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 553d25e

Please sign in to comment.