Skip to content

Commit b355c68

Browse files
committed
fix: fmt
1 parent fc9e6c1 commit b355c68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/string/multiple_longest_common_subsequence.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,11 @@ impl Context {
8888
// for each string, finds the next position of that letter
8989
let mut succ: Vec<Option<usize>> = vec![];
9090
for (i, p_ith_elt) in p.iter().enumerate().take(self.chains.len()) {
91-
9291
let next_ch_idx = match p_ith_elt {
9392
Some(idx) => self.mt[ch_idx][i][idx + 1],
9493
None => continue, // Skip if current position is None
9594
};
96-
95+
9796
// in case the letter is not reachable in the string
9897
if next_ch_idx.is_none() {
9998
break;
@@ -488,4 +487,4 @@ mod tests {
488487
),
489488

490489
}
491-
}
490+
}

0 commit comments

Comments
 (0)