Skip to content

Commit 15cc4fb

Browse files
authored
Merge pull request #1652 from fitzgen/fix-some-warnings
Fix some warnings
2 parents 604c036 + 6cb659d commit 15cc4fb

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

crates/backend/src/codegen.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,9 @@ impl TryToTokens for ast::ImportFunction {
977977
}
978978
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
979979
unsafe fn #import_name(#(#abi_arguments),*) -> #abi_ret {
980-
drop((#(#abi_argument_names),*));
980+
#(
981+
drop(#abi_argument_names);
982+
)*
981983
panic!("cannot call wasm-bindgen imported functions on \
982984
non-wasm targets");
983985
}

crates/typescript-tests/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
mod custom_section;
2-
mod getters_setters;
3-
mod opt_args_and_ret;
4-
mod simple_fn;
5-
mod simple_struct;
1+
pub mod custom_section;
2+
pub mod getters_setters;
3+
pub mod opt_args_and_ret;
4+
pub mod simple_fn;
5+
pub mod simple_struct;

0 commit comments

Comments
 (0)