Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: silence unused ws macro (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jan 13, 2022
1 parent d4f8984 commit d2b59d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethers-providers/src/transports/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ macro_rules! if_wasm {
)*}
}

// only used with WS
#[cfg(feature = "ws")]
macro_rules! if_not_wasm {
($($item:item)*) => {$(
#[cfg(not(target_arch = "wasm32"))]
Expand Down

0 comments on commit d2b59d7

Please sign in to comment.