mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Merge pull request #992 from alexcrichton/inline-trivial
Flag a trivial `JsValue` constructor as `#[inline]`
This commit is contained in:
commit
9ebbcd3827
@ -99,6 +99,7 @@ impl JsValue {
|
||||
_marker: marker::PhantomData,
|
||||
};
|
||||
|
||||
#[inline]
|
||||
fn _new(idx: u32) -> JsValue {
|
||||
JsValue {
|
||||
idx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user