From 6dbec09db0cb6b29310c74036587f4c9d2f7d038 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Mon, 25 Nov 2024 11:59:49 -0800 Subject: [PATCH] Suppress future `missing_docs` warning from `wasm_bindgen_test_configure`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not sure whose bug this is or when it will take effect, but it’s at least on rustc beta right now. Let’s just allow it and forget about it. --- all-is-cubes-wasm/tests/browser/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/all-is-cubes-wasm/tests/browser/main.rs b/all-is-cubes-wasm/tests/browser/main.rs index 590ecbbbb..b84fe27e8 100644 --- a/all-is-cubes-wasm/tests/browser/main.rs +++ b/all-is-cubes-wasm/tests/browser/main.rs @@ -3,6 +3,10 @@ //! These tests are usually run headless via `wasm-pack test --headless`. #![cfg(target_family = "wasm")] +#![allow( + missing_docs, + reason = "false positive from wasm_bindgen_test_configure!" +)] wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);