mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Fix warning about unnecessary parens in generated code
This commit is contained in:
parent
604c036111
commit
1ba298548f
@ -977,7 +977,9 @@ impl TryToTokens for ast::ImportFunction {
|
||||
}
|
||||
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
|
||||
unsafe fn #import_name(#(#abi_arguments),*) -> #abi_ret {
|
||||
drop((#(#abi_argument_names),*));
|
||||
#(
|
||||
drop(#abi_argument_names);
|
||||
)*
|
||||
panic!("cannot call wasm-bindgen imported functions on \
|
||||
non-wasm targets");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user