Skip to content

Commit d3b0adb

Browse files
joshtriplettepage
authored andcommitted
Fix typo: "canonical lysing" -> "canonicalizing"
1 parent e421be2 commit d3b0adb

File tree

1 file changed

+1
-1
lines changed
  • src/cargo/sources/registry

1 file changed

+1
-1
lines changed

src/cargo/sources/registry/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ impl<'gctx> Source for RegistrySource<'gctx> {
847847
// names to the original name. The resolver will later
848848
// reject any candidates that have the wrong name, and with this it'll
849849
// have enough information to offer "a similar crate exists" suggestions.
850-
// For now we only try the canonical lysing `-` to `_` and vice versa.
850+
// For now we only try canonicalizing `-` to `_` and vice versa.
851851
// More advanced fuzzy searching become in the future.
852852
for name_permutation in [
853853
dep.package_name().replace('-', "_"),

0 commit comments

Comments
 (0)