Skip to content

Commit ef670aa

Browse files
committed
Update lib.rs
1 parent 4a6e355 commit ef670aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

net/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
clippy::expect_used,
1313
clippy::panic
1414
)]
15+
#![cfg_attr(not(unix), allow(unused))] // for wasm32 builds
1516
#![allow(clippy::should_panic_without_expect)] // we panic in contract checks with simple unwrap()
1617

1718
pub mod addr_parse_error;

0 commit comments

Comments
 (0)