We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a660a32 commit c95faceCopy full SHA for c95face
1 file changed
crates/guest-rust/src/pre_wit_bindgen_0_20_0.rs
@@ -94,7 +94,7 @@ pub unsafe fn bool_lift(val: u8) -> bool {
94
_ => panic!("invalid bool discriminant"),
95
}
96
} else {
97
- core::mem::transmute::<u8, bool>(val)
+ val == 1
98
99
100
0 commit comments