Skip to content

Commit 36c2354

Browse files
committed
fix(cli): satisfy clippy in convert helper
1 parent 49cacf3 commit 36c2354

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

langcodec-cli/src/convert.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ fn wants_named_output(
4040
format_name: &str,
4141
) -> bool {
4242
output.ends_with(extension)
43-
|| output_format_hint
44-
.as_deref()
45-
.is_some_and(|hint| hint.eq_ignore_ascii_case(format_name))
43+
|| output_format_hint.is_some_and(|hint| hint.eq_ignore_ascii_case(format_name))
4644
}
4745

4846
fn wants_xcstrings_output(output: &str, output_format_hint: Option<&String>) -> bool {

0 commit comments

Comments
 (0)