mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-04 10:24:27 +03:00
Tweak instructions in js-sys/src/lib.rs
This commit is contained in:
parent
20e9267775
commit
347c1daad9
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user