Tweak instructions in js-sys/src/lib.rs

This commit is contained in:
Alex Crichton 2018-07-20 12:27:03 -07:00
parent 20e9267775
commit 347c1daad9

View File

@ -39,9 +39,8 @@ use wasm_bindgen::prelude::*;
// `#[wasm_bindgen(catch)]`. // `#[wasm_bindgen(catch)]`.
// //
// * Add a new `#[test]` into the appropriate file in the // * Add a new `#[test]` into the appropriate file in the
// `tests/all/js_globals/` directory. If the imported function or // `crates/js-sys/tests/wasm/` directory. If the imported function or method
// method can throw an exception, make sure to also add test coverage // can throw an exception, make sure to also add test coverage for that case.
// for that case.
#[wasm_bindgen] #[wasm_bindgen]
extern "C" { extern "C" {