mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
e2dfa23eac
Attempts to improve method name suggestions when a matching method name is not found. The approach taken is use the Levenshtein distance and account for substrings having a high distance but can sometimes be very close to the intended method (eg. empty vs is_empty).