Skip to content

Commit b5eb8fd

Browse files
committed
Fix another clippy lint
It only happens after applying another clippy lint.
1 parent 29ad2df commit b5eb8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-archive/src/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ where
126126
NextFn: FnMut(&mut Stream) -> Result<Option<Entry<'_>>, gix_worktree_stream::entry::Error>,
127127
{
128128
let compression_level = match opts.format {
129-
Format::Zip { compression_level } => compression_level.map(|lvl| i64::from(lvl)),
129+
Format::Zip { compression_level } => compression_level.map(i64::from),
130130
_other => return write_stream(stream, next_entry, out, opts),
131131
};
132132

0 commit comments

Comments
 (0)