From f550e0f74e101823a618b97e478792837fecf5a8 Mon Sep 17 00:00:00 2001 From: lcnr Date: Fri, 27 Sep 2024 10:05:06 +0200 Subject: [PATCH] yikes --- compiler/rustc_infer/src/infer/resolve.rs | 1 - compiler/rustc_type_ir/src/data_structures/delayed_map.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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)]