about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2018-05-08 17:07:24 +0900
committerMike Hommey <mh@glandium.org>2018-05-08 17:07:24 +0900
commit663c0961b9e72301ab5400f3aa066acf20586268 (patch)
tree96eb6bff6804b90da86244849cb3c1c9e1e491a3
parent295d98069f34dce6f7a88422bfa7fbd0a1425aac (diff)
downloadrust-663c0961b9e72301ab5400f3aa066acf20586268.tar.gz
rust-663c0961b9e72301ab5400f3aa066acf20586268.zip
Cleanup a `use` in a raw_vec test
`allocator` is deprecated in favor of `alloc`, and `Alloc` is already imported
through `super::*`.
-rw-r--r--src/liballoc/raw_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs
index eb25ae17511..4d73d3aa07e 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -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