mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 18:01:06 +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 () {
|
impl IntoWasmAbi for () {
|
||||||
type Abi = ();
|
type Abi = ();
|
||||||
|
|
||||||
|
#[inline]
|
||||||
fn into_abi(self, _extra: &mut Stack) -> () {
|
fn into_abi(self, _extra: &mut Stack) -> () {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user