We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc36bdc commit 1076065Copy full SHA for 1076065
examples/closures/src/lib.rs
@@ -55,7 +55,7 @@ pub fn run() -> Result<(), JsValue> {
55
//
56
// Note the usage of `Closure` here because the closure is "long lived",
57
// basically meaning it has to persist beyond the call to this one function.
58
-// Also of note here is the `.as_ref().unchecked_ref()` chain, which is who
+// Also of note here is the `.as_ref().unchecked_ref()` chain, which is how
59
// you can extract `&Function`, what `web-sys` expects, from a `Closure`
60
// which only hands you `&JsValue` via `AsRef`.
61
fn setup_clock(window: &Window, document: &Document) -> Result<(), JsValue> {
0 commit comments