Skip to content

Commit

Permalink
Merge pull request rustwasm#1138 from tomhoule/fix-small-formatting-i…
Browse files Browse the repository at this point in the history
…ssue

Fix tiny comment formatting issue in docs
  • Loading branch information
alexcrichton authored Jan 2, 2019
2 parents 47c4347 + 1f2adb7 commit 929be71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/closure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ use throw_str;
/// #[wasm_bindgen]
/// pub fn run() -> ClosureHandle {
/// // First up we use `Closure::wrap` to wrap up a Rust closure and create
/// a JS closure.
/// // a JS closure.
/// let cb = Closure::wrap(Box::new(move || {
/// log("timeout elapsed!");
/// }) as Box<FnMut()>);
Expand Down

0 comments on commit 929be71

Please sign in to comment.