Skip to content

Commit 7305834

Browse files
committed
cargo format
1 parent f394ce4 commit 7305834

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/enrichment_tables/file.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ impl File {
325325
std::str::from_utf8(bytes_row),
326326
std::str::from_utf8(bytes_cmp),
327327
) {
328-
(Ok(s_row), Ok(s_cmp)) => s_row.to_lowercase() == s_cmp.to_lowercase(),
328+
(Ok(s_row), Ok(s_cmp)) => {
329+
s_row.to_lowercase() == s_cmp.to_lowercase()
330+
}
329331
(Err(_), Err(_)) => bytes_row == bytes_cmp,
330332
_ => false,
331333
}
@@ -900,13 +902,7 @@ mod tests {
900902
("field1".into(), Value::from("zirp")),
901903
("field2".into(), Value::from("zurp")),
902904
])),
903-
file.find_table_row(
904-
Case::Sensitive,
905-
&[condition],
906-
None,
907-
Some(&wildcard),
908-
None
909-
)
905+
file.find_table_row(Case::Sensitive, &[condition], None, Some(&wildcard), None)
910906
);
911907
}
912908

0 commit comments

Comments
 (0)