Merge pull request #1138 from tomhoule/fix-small-formatting-issue

Fix tiny comment formatting issue in docs
This commit is contained in:
Alex Crichton 2019-01-02 10:36:57 -06:00 committed by GitHub
commit 929be71c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()>);