Crate rustc_edit_distance

Crate rustc_edit_distance 

Source
Expand description

This implementation is derived from the Rust compiler (“rustc”), specifically from: https://github.com/rust-lang/rust/blob/3b022d8ceea570db9730be34d964f0cc663a567f/compiler/rustc_span/src/edit_distance.rs

The Rust compiler is dual-licensed under the Apache License, Version 2.0 and the MIT license. See the LICENSE-* files and COPYRIGHT file in this repository for details.

This project is likewise dual-licensed under Apache-2.0 OR MIT, at your option.

Functions§

edit_distance
Finds the edit distance between two strings.
edit_distance_with_substrings
find_best_match_for_name
find_best_match_for_name_impl