about summary refs log tree commit diff
path: root/library/alloc/src/string.rs
diff options
context:
space:
mode:
authorKaDiWa <kalle.wachsmuth@gmail.com>2022-08-09 02:14:43 +0200
committerkadiwa <kalle.wachsmuth@gmail.com>2023-04-12 19:27:18 +0200
commitad2b34d0e37e2f968f226e2401bcb894207ca1c5 (patch)
tree66be076f5111ae974971f1836d7da023cf60230d /library/alloc/src/string.rs
parent661b33f5247debc4e0cd948caa388997e18e9cb8 (diff)
downloadrust-ad2b34d0e37e2f968f226e2401bcb894207ca1c5.tar.gz
rust-ad2b34d0e37e2f968f226e2401bcb894207ca1c5.zip
remove some unneeded imports
Diffstat (limited to 'library/alloc/src/string.rs')
-rw-r--r--library/alloc/src/string.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs
index c1cd3c74ab6..be41919b9dc 100644
--- a/library/alloc/src/string.rs
+++ b/library/alloc/src/string.rs
@@ -45,9 +45,9 @@
 use core::error::Error;
 use core::fmt;
 use core::hash;
-use core::iter::FusedIterator;
 #[cfg(not(no_global_oom_handling))]
-use core::iter::{from_fn, FromIterator};
+use core::iter::from_fn;
+use core::iter::FusedIterator;
 #[cfg(not(no_global_oom_handling))]
 use core::ops::Add;
 #[cfg(not(no_global_oom_handling))]