find_similar_kw

Function find_similar_kw 

Source
fn find_similar_kw(lookup: Ident, candidates: &[Symbol]) -> Option<MisspelledKw>
Expand description

Checks if the given lookup identifier is similar to any keyword symbol in candidates.

This is a specialized version of Symbol::find_similar that constructs an error when a candidate is found.