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.