Skip to content

Commit c3989cc

Browse files
test(kyberlib): 🐛 address the warning about the unused result of type Box<dyn Any + Send>
1 parent d3a926b commit c3989cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_wasm.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ mod tests {
147147
vec![0u8; KYBER_PUBLIC_KEY_BYTES - 1].into_boxed_slice();
148148

149149
// Call Kex::new() with the invalid public key and expect a panic
150-
std::panic::catch_unwind(|| {
151-
Kex::new(invalid_pk);
150+
let _ = std::panic::catch_unwind(|| {
151+
let _ = Kex::new(invalid_pk);
152152
})
153153
.unwrap_err();
154154
}

0 commit comments

Comments
 (0)