From ef748ca94715e9d1f7fb3363a11d0ec8f31f8c11 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 27 Mar 2025 11:15:34 -0700 Subject: [PATCH] Fix typo: "canonical lysing" -> "canonicalizing" --- src/cargo/sources/registry/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/sources/registry/mod.rs b/src/cargo/sources/registry/mod.rs index 0422f3363..26e6d8919 100644 --- a/src/cargo/sources/registry/mod.rs +++ b/src/cargo/sources/registry/mod.rs @@ -847,7 +847,7 @@ impl<'gctx> Source for RegistrySource<'gctx> { // names to the original name. The resolver will later // reject any candidates that have the wrong name, and with this it'll // have enough information to offer "a similar crate exists" suggestions. - // For now we only try the canonical lysing `-` to `_` and vice versa. + // For now we only try canonicalizing `-` to `_` and vice versa. // More advanced fuzzy searching become in the future. for name_permutation in [ dep.package_name().replace('-', "_"),