directly return Option instead of WasmOption (#823)
This commit is contained in:
parent
5a96f6e7f0
commit
d1837745ac
2 changed files with 2 additions and 2 deletions
|
|
@ -243,7 +243,7 @@ impl wasm_bindgen::describe::WasmDescribe for BufferSize {
|
|||
|
||||
#[cfg(target_os = "emscripten")]
|
||||
impl wasm_bindgen::convert::IntoWasmAbi for BufferSize {
|
||||
type Abi = wasm_bindgen::convert::WasmOption<u32>;
|
||||
type Abi = Option<u32>;
|
||||
fn into_abi(self) -> Self::Abi {
|
||||
match self {
|
||||
Self::Default => None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue