mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
refactor(wasm): remove unnecessary JsCast import
This commit is contained in:
1 parent
eb45d01b50
commit
8a8e00a5a5
1 file changed
+1
-1
@@ -453,7 +453,7 @@ pub fn run<E: Example>(title: &str) {
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub fn run<E: Example>(title: &str) {
|
||||
use wasm_bindgen::{prelude::*, JsCast};
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
let title = title.to_owned();
|
||||
wasm_bindgen_futures::spawn_local(async move {
|
||||
|
||||
Reference in new issue
Block a user