diff --git a/src/command/bindings.rs b/src/command/bindings.rs index 9b43850..8c4a4c7 100644 --- a/src/command/bindings.rs +++ b/src/command/bindings.rs @@ -15,6 +15,8 @@ extern "C" { /// [Events](https://tauri.app/v1/guides/features/events) #[cfg(feature = "event")] #[doc(cfg(feature = "event"))] + // for some reason this doc comment is seen as unused... + #[allow(unused_doc_comments)] #[wasm_bindgen(catch, js_namespace = ["window", "__TAURI__", "event"])] pub async fn listen( event: &str,