Skip to content

Commit ed58b79

Browse files
fix(guide): missing ] (#2933)
1 parent 3822e67 commit ed58b79

File tree

1 file changed

+1
-1
lines changed
  • guide/src/reference/attributes/on-js-imports

1 file changed

+1
-1
lines changed

guide/src/reference/attributes/on-js-imports/js_name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Could be accessed using this definition in Rust:
7777
```rust
7878
#[wasm_bindgen(module = "bar")]
7979
extern "C" {
80-
#[wasm_bindgen(js_name = default)
80+
#[wasm_bindgen(js_name = default)]
8181
type Foo;
8282
#[wasm_bindgen(constructor, js_class = default)]
8383
pub fn new() -> Foo;

0 commit comments

Comments
 (0)