about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-09 17:26:49 +0800
committerkennytm <kennytm@gmail.com>2018-05-09 20:29:47 +0800
commit553d25eb50a735e1732815dca8520e663d1fa146 (patch)
treebd1b8ef4174375865b654924bc6d760c621d3cf7 /src/liballoc
parent4924fea2026c0360cd57106ee6f1199924ad50e1 (diff)
parent663c0961b9e72301ab5400f3aa066acf20586268 (diff)
downloadrust-553d25eb50a735e1732815dca8520e663d1fa146.tar.gz
rust-553d25eb50a735e1732815dca8520e663d1fa146.zip
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::*`.
Diffstat (limited to 'src/liballoc')
-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