From 1a32e1c46fb77a25e2203bbe72b293887723112d Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Sun, 4 Apr 2021 11:15:20 +0800 Subject: [PATCH] reformat code --- src/util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}