about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-06-15 03:56:35 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-29 14:01:33 +0200
commitb0547cea0ae50f49619ded26f43d0d55a1674b14 (patch)
treed8a9e6aabff391b23769efea837aee97a0e44c91 /src/liballoc/string.rs
parent121b57b87ae4b58082f38a450373636286a8d678 (diff)
downloadrust-b0547cea0ae50f49619ded26f43d0d55a1674b14.tar.gz
rust-b0547cea0ae50f49619ded26f43d0d55a1674b14.zip
Move core::alloc::CollectionAllocErr to alloc::collections
Diffstat (limited to 'src/liballoc/string.rs')
-rw-r--r--src/liballoc/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index a988b6a26d9..6b28687a060 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -66,7 +66,7 @@ use core::ptr;
 use core::str::pattern::Pattern;
 use core::str::lossy;
 
-use alloc::CollectionAllocErr;
+use collections::CollectionAllocErr;
 use borrow::{Cow, ToOwned};
 use boxed::Box;
 use str::{self, from_boxed_utf8_unchecked, FromStr, Utf8Error, Chars};