cargo::util::edit_distance

Function edit_distance

Source
pub fn edit_distance(a: &str, b: &str, limit: usize) -> Option<usize>
Expand description

Finds the edit distance between two strings.

Returns None if the distance exceeds the limit.