mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
fix: opts spacing
This commit is contained in:
parent
e53c61cb59
commit
87be5ffacb
5 changed files with 26 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue