From 44cab1027dfa64ba0602ffc4e4dd837b3dd37883 Mon Sep 17 00:00:00 2001 From: Ke7in <60681675+luckynumberke7in@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:41:04 -0400 Subject: [PATCH] fix cargo fmt issues Forgot to set up "cargo fmt" on save --new system. --- src/use_document.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/use_document.rs b/src/use_document.rs index 5a3f1bc..126fcd0 100644 --- a/src/use_document.rs +++ b/src/use_document.rs @@ -6,7 +6,10 @@ use crate::core::impl_ssr_safe_method; #[cfg(not(feature = "ssr"))] use leptos::*; use wasm_bindgen::JsValue; -use web_sys::{Document, Element, HtmlCollection, HtmlElement, HtmlHeadElement, Location, NodeList, VisibilityState, Window}; +use web_sys::{ + Document, Element, HtmlCollection, HtmlElement, HtmlHeadElement, Location, NodeList, + VisibilityState, Window, +}; /// SSR safe `document()`. /// This returns just a new-type wrapper around `Option`.