From ea01043e9a23be5b3093c86edbd74d8ba9ffbe75 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 27 Mar 2019 13:03:50 +0100 Subject: [PATCH] Quick type fix in closure.rs --- src/closure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/closure.rs b/src/closure.rs index ca18a702..957f68fe 100644 --- a/src/closure.rs +++ b/src/closure.rs @@ -121,7 +121,7 @@ use crate::UnwrapThrowExt; /// // Note this method call, which uses `as_ref()` to get a `JsValue` /// // from our `Closure` which is then converted to a `&Function` /// // using the `JsCast::unchecked_ref` function. -/// cb.as_ref().upnchecked_ref(), +/// cb.as_ref().unchecked_ref(), /// 1_000, /// )?; ///