chore: silence unused ws macro (#788)

This commit is contained in:
Matthias Seitz 2022-01-13 01:59:02 +01:00 committed by GitHub
parent d4f8984f59
commit d2b59d7097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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"))]