mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
utils!: consistent function name
This commit is contained in:
parent
a136a2f5d1
commit
ab557e9b86
4 changed files with 6 additions and 6 deletions
|
|
@ -83,7 +83,7 @@ pub fn suggest_typo(typos: &[String], candidates: Vec<String>, executables: &[St
|
|||
}
|
||||
}
|
||||
"file" => {
|
||||
if let Some(suggest) = get_best_match_file(typo) {
|
||||
if let Some(suggest) = best_match_file(typo) {
|
||||
suggestions.push(suggest);
|
||||
} else {
|
||||
suggestions.push(typo.to_string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue