Suggest a case insensitive match name regardless of levenshtein distance

This commit is contained in:
Yuki Okushi 2021-10-17 04:51:22 +09:00
parent 7fbd4ce276
commit d4cc8774d5
No known key found for this signature in database
GPG key ID: DABA5B072961C18A
4 changed files with 38 additions and 31 deletions

View file

@ -5,7 +5,10 @@ LL | enum Delicious {
| -------------- variant or associated item `PIE` not found here
...
LL | ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
| ^^^ variant or associated item not found in `Delicious`
| ^^^
| |
| variant or associated item not found in `Delicious`
| help: there is a variant with a similar name: `Pie`
error: aborting due to previous error