Skip to content

Commit

Permalink
rustfmt
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 76591c1 commit 7029903
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions tests/wasm/macro_rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ use wasm_bindgen_test::*;
macro_rules! my_export {
($i: ident, $s: ty) => {
#[wasm_bindgen]
pub fn $i(s: $s) {
}
}
pub fn $i(s: $s) {}
};
}

my_export!(should_compile, &[i32]);
2 changes: 1 addition & 1 deletion tests/wasm/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ pub mod js_keywords;
pub mod js_objects;
pub mod jscast;
pub mod link_to;
pub mod math;
pub mod macro_rules;
pub mod math;
pub mod no_shims;
pub mod node;
pub mod option;
Expand Down

0 comments on commit 7029903

Please sign in to comment.