Skip to content

Commit ea01043

Browse files
authored
Quick type fix in closure.rs
1 parent e3aabcb commit ea01043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ use crate::UnwrapThrowExt;
121121
/// // Note this method call, which uses `as_ref()` to get a `JsValue`
122122
/// // from our `Closure` which is then converted to a `&Function`
123123
/// // using the `JsCast::unchecked_ref` function.
124-
/// cb.as_ref().upnchecked_ref(),
124+
/// cb.as_ref().unchecked_ref(),
125125
/// 1_000,
126126
/// )?;
127127
///

0 commit comments

Comments
 (0)