6

Make levenshtein distance case insensitive. by MidasLamb · Pull Request #10224 ·...

 2 years ago
source link: https://github.com/rust-lang/cargo/pull/10224
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Contributor

MidasLamb commented 27 days ago

When typing in a single character shortcut as a capital, it always
returns b as the suggestion as every one-letter abbreviation
is a lev distance 1 away from the capitalized one.
By making the levenshtein distance case insensitive, the case-mismatched
one-letter abbriviation (e.g. C to c) will be suggested, rather
than b


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK