[][src]Function syntax::util::lev_distance::lev_distance

pub fn lev_distance(a: &str, b: &str) -> usize
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Finds the Levenshtein distance between two strings