From e3ef2eddd4732f60dc576d0ffddcf9874d98310f Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 29 Aug 2023 20:11:47 -0700 Subject: [PATCH] fix wasm warning --- src/framework.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework.rs b/src/framework.rs index 85cbb51..8b674cb 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 {