Skip to content

Commit fa18a6b

Browse files
committed
fix: cargo fmt
1 parent e028c5d commit fa18a6b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/string/multiple_longest_common_subsequence.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl Context {
7070
// saves the fact that p is the parent of q
7171
self.parents.insert(q, Some(p));
7272
}
73-
73+
7474
/// Finds all succcesors of the point p
7575
/// A successor of p = (p_1, p_2, etc, p_n) is a point q = (q_1, q_2, etc, q_n)
7676
/// such that q_1 > p_1, q_2 > p_2, etc, q_n > p_n
@@ -197,10 +197,8 @@ impl Context {
197197
}
198198
});
199199
}
200-
201200
}
202201

203-
204202
/// Heuristic to find the smallest common alphabet among the strings
205203
/// gets the shortest string and remove duplicates
206204
///
@@ -360,7 +358,6 @@ pub fn multiple_longest_common_subsequence(chains: &Vec<&str>) -> String {
360358
String::from("")
361359
}
362360

363-
364361
/// Computes the suffix table
365362
fn score_matrix(s1: &[char], s2: &[char]) -> Vec<Vec<u64>> {
366363
let m = s1.len();
@@ -387,7 +384,6 @@ fn to_linear_index(i: usize, j: usize, d: usize) -> usize {
387384
i * d + j
388385
}
389386

390-
391387
#[cfg(test)]
392388
mod tests {
393389
use super::*;

0 commit comments

Comments
 (0)