Skip to main content

Module diagnostic

Module diagnostic 

Source

Functionsยง

edit_distance
Compute the Levenshtein edit distance between two strings.
find_closest_match
Find the closest match to name among candidates, within max_dist edits.
render_diagnostic
Render a Rust-style diagnostic message.