Function cargo::util::edit_distance::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.