mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 10:10:52 +00:00
Merge pull request #901 from alexcrichton/inline-unit
Add `#[inline]` for `IntoWasmAbi for ()`
This commit is contained in:
commit
a0c397d2be
@ -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…
x
Reference in New Issue
Block a user