mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Fix typo: "canonical lysing" -> "canonicalizing"
This commit is contained in:
parent
840aff8377
commit
ef748ca947
@ -847,7 +847,7 @@ impl<'gctx> Source for RegistrySource<'gctx> {
|
|||||||
// names to the original name. The resolver will later
|
// names to the original name. The resolver will later
|
||||||
// reject any candidates that have the wrong name, and with this it'll
|
// reject any candidates that have the wrong name, and with this it'll
|
||||||
// have enough information to offer "a similar crate exists" suggestions.
|
// 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.
|
// More advanced fuzzy searching become in the future.
|
||||||
for name_permutation in [
|
for name_permutation in [
|
||||||
dep.package_name().replace('-', "_"),
|
dep.package_name().replace('-', "_"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user