wasm-bindgen
wasm-bindgen copied to clipboard
`wasm-bindgen` 0.2.92 triggers `clippy::mem_forget`
Summary
wasm-bindgen 0.2.92 triggers the Clippy rule mem_forget. Is it expected?
error: usage of `mem::forget` on `Drop` type
--> crates/biome_wasm/src/lib.rs:24:1
|
24 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
|
= note: argument has type `wasm_bindgen::JsValue`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_forget
= note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)