fix: opts spacing

This commit is contained in:
iff 2025-01-07 01:16:54 +01:00
parent e53c61cb59
commit 87be5ffacb
5 changed files with 26 additions and 7 deletions

View file

@ -3,8 +3,8 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use crate::files::*;
use regex_lite::Regex;
use itertools::Itertools;
use regex_lite::Regex;
fn regex_captures(regex: &str, string: &str) -> Vec<String> {
let regex = Regex::new(regex).unwrap();
@ -158,7 +158,7 @@ pub fn find_similars(
if !min_distance_index.is_empty() {
min_distance_index.push(i)
}
},
}
Less => {
min_distance = distance;
min_distance_index.clear();