Skip to content

Commit e6aeb7f

Browse files
make dprint happy
1 parent b469573 commit e6aeb7f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
2-
members = ["i18n-book-to-po","i18n-helpers", "i18n-report", "mdbook-tera-backend", "fuzz"]
3-
default-members = ["i18n-book-to-po", "i18n-helpers", "i18n-report", "mdbook-tera-backend"]
2+
members = ["i18n-book-to-po", "i18n-helpers", "i18n-report", "mdbook-tera-backend", "fuzz"]
3+
default-members = ["i18n-book-to-po", "i18n-helpers", "i18n-report", "mdbook-tera-backend"]
44
resolver = "2"
55

66
[workspace.lints.clippy]

i18n-book-to-po/src/structure/diff.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ fn diff_structure_lcs(source: &[CmarkEvent], translated: &[CmarkEvent]) -> Vec<A
2222

2323
/// this diffs the structure in how the original needs to be modified in order to create the translation.
2424
/// We use the global alignment algorithm NeedlemanWunsch and transform the result into a understandable datastructure
25-
fn diff_structure_seal(
26-
source: &[CmarkEvent],
27-
translation: &[CmarkEvent],
28-
) -> Vec<AlignAction> {
25+
fn diff_structure_seal(source: &[CmarkEvent], translation: &[CmarkEvent]) -> Vec<AlignAction> {
2926
// equal is good, align operation is not good
3027
let strategy = seal::pair::NeedlemanWunsch::new(1, -1, -1, 0);
3128
let set: seal::pair::AlignmentSet<seal::pair::InMemoryAlignmentMatrix> =

0 commit comments

Comments
 (0)