diff options
| author | Mike Hommey <mh@glandium.org> | 2018-05-08 17:07:24 +0900 |
|---|---|---|
| committer | Mike Hommey <mh@glandium.org> | 2018-05-08 17:07:24 +0900 |
| commit | 663c0961b9e72301ab5400f3aa066acf20586268 (patch) | |
| tree | 96eb6bff6804b90da86244849cb3c1c9e1e491a3 | |
| parent | 295d98069f34dce6f7a88422bfa7fbd0a1425aac (diff) | |
| download | rust-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.rs | 2 |
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 |
