about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-02 10:53:27 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-02-02 10:53:27 +0100
commit3bfa0a35f65b08197fe677731ac8a9a81a7710bd (patch)
treedda4e9c14e95525b77a7567a2ed502a915767b48 /src/liballoc/string.rs
parentf09f62f62c401a42bf338a23f8721c7f5a28a800 (diff)
downloadrust-3bfa0a35f65b08197fe677731ac8a9a81a7710bd.tar.gz
rust-3bfa0a35f65b08197fe677731ac8a9a81a7710bd.zip
liballoc: prefer imports of borrow from libcore.
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 95f6b28a168..d74a3f004a3 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -64,8 +64,8 @@ use core::{
 };
 
 use crate::{
-    collections::CollectionAllocErr,
     borrow::{Cow, ToOwned},
+    collections::CollectionAllocErr,
     boxed::Box,
     str::{self, from_boxed_utf8_unchecked, FromStr, Utf8Error, Chars},
     vec::Vec,