diff --git a/src/util.rs b/src/util.rs index 87b000d..ff432a6 100644 --- a/src/util.rs +++ b/src/util.rs @@ -1,8 +1,8 @@ use bytes::Bytes; use domain_core::bits::message::Message; use js_sys::{Math, Promise}; -use wasm_bindgen::JsValue; use wasm_bindgen::prelude::*; +use wasm_bindgen::JsValue; use wasm_bindgen_futures::JsFuture; use web_sys::Request; @@ -31,4 +31,4 @@ pub async fn fetch_rs(req: &Request) -> Result { #[allow(unused_unsafe)] pub fn random() -> f64 { unsafe { Math::random() } -} \ No newline at end of file +}