From 702990389bea966188afd785892b59a6a73bd40b Mon Sep 17 00:00:00 2001 From: Oliver T Date: Wed, 20 Sep 2023 12:57:44 -0400 Subject: [PATCH] rustfmt Signed-off-by: Oliver T --- tests/wasm/macro_rules.rs | 5 ++--- tests/wasm/main.rs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/wasm/macro_rules.rs b/tests/wasm/macro_rules.rs index 88ad23a576e..60fd236f0b9 100644 --- a/tests/wasm/macro_rules.rs +++ b/tests/wasm/macro_rules.rs @@ -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]); diff --git a/tests/wasm/main.rs b/tests/wasm/main.rs index 73b566ddabd..30ea94b422d 100644 --- a/tests/wasm/main.rs +++ b/tests/wasm/main.rs @@ -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;