Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver T <[email protected]>
  • Loading branch information
snOm3ad committed Sep 20, 2023
1 parent 7029903 commit 8c59a67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/wasm/macro_rules.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
//! This tests that the `wasm_bindgen` macro produces code that compiles for this use case.
//! `cargo test --target wasm32-unknown-unknown` will not run if this test breaks.
use wasm_bindgen::prelude::*;
use wasm_bindgen_test::*;

macro_rules! my_export {
($i: ident, $s: ty) => {
#[wasm_bindgen]
pub fn $i(s: $s) {}
pub fn $i(_: $s) {}
};
}

Expand Down

0 comments on commit 8c59a67

Please sign in to comment.