mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 05:52:21 +03:00
Add #[inline]
for IntoWasmAbi for ()
No need for it to not be inlined, it literally compiles to nothing!
This commit is contained in:
parent
35a7233101
commit
5a0ac2d37c
@ -396,6 +396,7 @@ impl<T: FromWasmAbi> FromWasmAbi for Clamped<T> {
|
||||
impl IntoWasmAbi for () {
|
||||
type Abi = ();
|
||||
|
||||
#[inline]
|
||||
fn into_abi(self, _extra: &mut Stack) -> () {
|
||||
self
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user