chore(web): silence rust-analyzer warnings

#[wasm_bindgen] creates annoying warnings, such as:

 rust-analyzer: Function `__wasm_bindgen_generated_Session_apply_inputs` should have snake_case name, e.g. `__wasm_bindgen_generated_session_apply_inputs`

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau
2024-08-19 06:44:15 -04:00
committed by Benoît Cortier
parent 676522d33f
commit 7646c3cddb
+3
View File
@@ -1,3 +1,6 @@
// https://github.com/rustwasm/wasm-bindgen/issues/4080
#![allow(non_snake_case)]
use core::cell::RefCell;
use std::borrow::Cow;
use std::rc::Rc;