Use std::cell::OnceCell (#3290)

This commit is contained in:
daxpedda 2023-12-22 23:49:25 +01:00 committed by GitHub
parent 86b737f5e7
commit 37946e0a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
use std::cell::OnceCell;
use js_sys::Promise;
use once_cell::unsync::OnceCell;
use wasm_bindgen::closure::Closure;
use wasm_bindgen::prelude::wasm_bindgen;
use wasm_bindgen::{JsCast, JsValue};