We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e4566a commit 289f73eCopy full SHA for 289f73e
winch/codegen/src/codegen/control.rs
@@ -35,7 +35,7 @@ impl Clone for BlockType {
35
fn clone(&self) -> Self {
36
match self {
37
Self::Void => Self::Void,
38
- Self::Single(x) => Self::Single(x.clone()),
+ Self::Single(x) => Self::Single(*x),
39
Self::ABISig(x) => Self::ABISig(x.clone()),
40
Self::Func(f) => Self::Func(f.try_clone().panic_on_oom()),
41
}
0 commit comments