From ea9210b99dc2021fdfb051e291d284ca9bea5ca2 Mon Sep 17 00:00:00 2001 From: Samuel Maier Date: Thu, 3 Oct 2024 21:05:23 +0200 Subject: [PATCH] Suppress warning during build --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index a51fba0..2067a76 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,6 +53,7 @@ extern "C" { } #[cfg(not(feature = "no-bundler"))] +#[allow(unused_must_use)] fn _ensure_worker_emitted() { // Just ensure that the worker is emitted into the output folder, but don't actually use the URL. wasm_bindgen::link_to!(module = "/src/workerHelpers.worker.js");