diff options
| author | KaDiWa <kalle.wachsmuth@gmail.com> | 2022-08-09 02:14:43 +0200 |
|---|---|---|
| committer | KaDiWa <kalle.wachsmuth@gmail.com> | 2022-12-10 18:45:34 +0100 |
| commit | 9bc69925cb4a1391a9a41411c56ae059877bf8fb (patch) | |
| tree | 1fc65519e8e94f6b36d1fe27e6be25136db3dc22 /compiler/rustc_data_structures/src/sso | |
| parent | a161a7b654083a881b22908a475988bcc3221a79 (diff) | |
| download | rust-9bc69925cb4a1391a9a41411c56ae059877bf8fb.tar.gz rust-9bc69925cb4a1391a9a41411c56ae059877bf8fb.zip | |
compiler: remove unnecessary imports and qualified paths
Diffstat (limited to 'compiler/rustc_data_structures/src/sso')
| -rw-r--r-- | compiler/rustc_data_structures/src/sso/either_iter.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_data_structures/src/sso/map.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_data_structures/src/sso/set.rs | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_data_structures/src/sso/either_iter.rs b/compiler/rustc_data_structures/src/sso/either_iter.rs index 131eeef4582..bca6c0955b9 100644 --- a/compiler/rustc_data_structures/src/sso/either_iter.rs +++ b/compiler/rustc_data_structures/src/sso/either_iter.rs @@ -1,7 +1,5 @@ use std::fmt; -use std::iter::ExactSizeIterator; use std::iter::FusedIterator; -use std::iter::Iterator; /// Iterator which may contain instance of /// one of two specific implementations. diff --git a/compiler/rustc_data_structures/src/sso/map.rs b/compiler/rustc_data_structures/src/sso/map.rs index ec6a62016a8..7cdac581977 100644 --- a/compiler/rustc_data_structures/src/sso/map.rs +++ b/compiler/rustc_data_structures/src/sso/map.rs @@ -3,7 +3,6 @@ use crate::fx::FxHashMap; use arrayvec::ArrayVec; use std::fmt; use std::hash::Hash; -use std::iter::FromIterator; use std::ops::Index; // For pointer-sized arguments arrays diff --git a/compiler/rustc_data_structures/src/sso/set.rs b/compiler/rustc_data_structures/src/sso/set.rs index 406f0270dcc..a4b40138933 100644 --- a/compiler/rustc_data_structures/src/sso/set.rs +++ b/compiler/rustc_data_structures/src/sso/set.rs @@ -1,6 +1,5 @@ use std::fmt; use std::hash::Hash; -use std::iter::FromIterator; use super::map::SsoHashMap; |
