Skip to content

Commit

Permalink
Suppress future missing_docs warning from `wasm_bindgen_test_config…
Browse files Browse the repository at this point in the history
…ure`.

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.
  • Loading branch information
kpreid committed Nov 25, 2024
1 parent f64db4b commit 6dbec09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions all-is-cubes-wasm/tests/browser/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6dbec09

Please sign in to comment.