wasm-bindgen 0.2.68

Easy support for interacting between JS and Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
//! This test validates that the generated bindings don't cause linting warnings
//! when used with structs annotated with `#[must_use]`.

#![deny(unused)]

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
#[must_use]
pub struct MustUse {}