diff --git a/src/framework.rs b/src/framework.rs index 85cbb51d..8b674cbf 100644 --- a/src/framework.rs +++ b/src/framework.rs @@ -453,7 +453,7 @@ pub fn run(title: &str) { #[cfg(target_arch = "wasm32")] pub fn run(title: &str) { - use wasm_bindgen::{prelude::*, JsCast}; + use wasm_bindgen::prelude::*; let title = title.to_owned(); wasm_bindgen_futures::spawn_local(async move {