Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Jan 4, 2024
1 parent 59e7a05 commit b287a69
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
use std::char;
use std::cmp::{max, min};
use std::collections::HashMap;
use std::convert::TryFrom;
use std::error::Error;
use std::fmt::{self, Display, Formatter};
use std::hash::Hash;
use std::mem;
use std::str::Chars;
use std::convert::TryFrom;

#[derive(Debug, PartialEq)]
pub enum StrSimError {
Expand Down Expand Up @@ -589,12 +589,7 @@ where
}
}

fn damerau_levenshtein_impl<Iter1, Iter2>(
s1: Iter1,
len1: usize,
s2: Iter2,
len2: usize,
) -> usize
fn damerau_levenshtein_impl<Iter1, Iter2>(s1: Iter1, len1: usize, s2: Iter2, len2: usize) -> usize
where
Iter1: Iterator<Item = char> + Clone,
Iter2: Iterator<Item = char> + Clone,
Expand Down

0 comments on commit b287a69

Please sign in to comment.