diff --git a/compiler/rustc_infer/src/infer/resolve.rs b/compiler/rustc_infer/src/infer/resolve.rs index 0698b3616f2e..e55dc92babe9 100644 --- a/compiler/rustc_infer/src/infer/resolve.rs +++ b/compiler/rustc_infer/src/infer/resolve.rs @@ -1,4 +1,3 @@ -use rustc_data_structures::sso::SsoHashMap; use rustc_middle::bug; use rustc_middle::ty::fold::{FallibleTypeFolder, TypeFolder, TypeSuperFoldable}; use rustc_middle::ty::visit::TypeVisitableExt; diff --git a/compiler/rustc_type_ir/src/data_structures/delayed_map.rs b/compiler/rustc_type_ir/src/data_structures/delayed_map.rs index fafbaf50ca93..757a3849baf9 100644 --- a/compiler/rustc_type_ir/src/data_structures/delayed_map.rs +++ b/compiler/rustc_type_ir/src/data_structures/delayed_map.rs @@ -6,7 +6,7 @@ const CACHE_CUTOFF: u32 = 16; /// A hashmap which only starts hashing after ignoring the first few inputs. /// -/// This is used in type folders asin nearly all cases caching is not worth it +/// This is used in type folders as in nearly all cases caching is not worth it /// as nearly all folded types are tiny. However, there are very rare incredibly /// large types for which caching is necessary to avoid hangs. #[derive(Debug)]