Skip to content

Commit

Permalink
Fix typo (#2346)
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Nov 6, 2020
1 parent b49bc2e commit 1817a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/reference/passing-rust-closures-to-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl Interval {
// Construct a new closure.
let closure = Closure::new(f);

// Pass the closuer to JS, to run every n milliseconds.
// Pass the closure to JS, to run every n milliseconds.
let token = setInterval(&closure, millis);

Interval { closure, token }
Expand Down

0 comments on commit 1817a88

Please sign in to comment.