mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-08 12:02:17 +00:00
Merge pull request #1402 from samcday/patch-1
Quick typo fix in closure.rs
This commit is contained in:
commit
98e554c1fa
@ -121,7 +121,7 @@ use crate::UnwrapThrowExt;
|
|||||||
/// // Note this method call, which uses `as_ref()` to get a `JsValue`
|
/// // Note this method call, which uses `as_ref()` to get a `JsValue`
|
||||||
/// // from our `Closure` which is then converted to a `&Function`
|
/// // from our `Closure` which is then converted to a `&Function`
|
||||||
/// // using the `JsCast::unchecked_ref` function.
|
/// // using the `JsCast::unchecked_ref` function.
|
||||||
/// cb.as_ref().upnchecked_ref(),
|
/// cb.as_ref().unchecked_ref(),
|
||||||
/// 1_000,
|
/// 1_000,
|
||||||
/// )?;
|
/// )?;
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user