Module rustc_span::lev_distance[−][src]

Levenshtein distances.

The Levenshtein distance is a metric for measuring the difference between two strings.

Functions

find_best_match_for_name

Finds the best match for a given word in the given iterator.

find_match_by_sorted_words
lev_distance

Finds the Levenshtein distance between two strings.

sort_by_words