Skip to content

Commit 289f73e

Browse files
committed
fix clippy
1 parent 5e4566a commit 289f73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winch/codegen/src/codegen/control.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Clone for BlockType {
3535
fn clone(&self) -> Self {
3636
match self {
3737
Self::Void => Self::Void,
38-
Self::Single(x) => Self::Single(x.clone()),
38+
Self::Single(x) => Self::Single(*x),
3939
Self::ABISig(x) => Self::ABISig(x.clone()),
4040
Self::Func(f) => Self::Func(f.try_clone().panic_on_oom()),
4141
}

0 commit comments

Comments
 (0)