Skip to main content

matches

Function matches 

Source
pub fn matches(query: &str, corpus: &[Requirement]) -> Vec<SimilarMatch>
Expand description

The requirements of corpus at or above CLOSE to query, at most MAX_MATCHES, by score, then unit number, then identifier. The same input gives the same output; an empty query gives none.