From 916dc6440265b10db159adf7e0f5a989dd789817 Mon Sep 17 00:00:00 2001 From: Ilya Maximov Date: Wed, 23 Feb 2022 20:00:01 +0100 Subject: [PATCH] style: format againkjdfakbjfbkasjd --- packages/hooks/src/use_shared_state.rs | 3 ++- packages/hooks/src/useref.rs | 3 ++- packages/hooks/src/usestate.rs | 3 ++- packages/router/src/service.rs | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/hooks/src/use_shared_state.rs b/packages/hooks/src/use_shared_state.rs index 2f3f201a2..3672302e9 100644 --- a/packages/hooks/src/use_shared_state.rs +++ b/packages/hooks/src/use_shared_state.rs @@ -2,7 +2,8 @@ use dioxus_core::{ScopeId, ScopeState}; use std::{ cell::{Cell, Ref, RefCell, RefMut}, collections::HashSet, - rc::Rc, sync::Arc, + rc::Rc, + sync::Arc, }; type ProvidedState = RefCell>; diff --git a/packages/hooks/src/useref.rs b/packages/hooks/src/useref.rs index 7441f85b0..6ab25cbd4 100644 --- a/packages/hooks/src/useref.rs +++ b/packages/hooks/src/useref.rs @@ -1,7 +1,8 @@ use dioxus_core::ScopeState; use std::{ cell::{Ref, RefCell, RefMut}, - rc::Rc, sync::Arc, + rc::Rc, + sync::Arc, }; /// `use_ref` is a key foundational hook for storing state in Dioxus. diff --git a/packages/hooks/src/usestate.rs b/packages/hooks/src/usestate.rs index e0d40b993..7dd6bfea4 100644 --- a/packages/hooks/src/usestate.rs +++ b/packages/hooks/src/usestate.rs @@ -4,7 +4,8 @@ use dioxus_core::prelude::*; use std::{ cell::{RefCell, RefMut}, fmt::{Debug, Display}, - rc::Rc, sync::Arc, + rc::Rc, + sync::Arc, }; /// Store state between component renders. diff --git a/packages/router/src/service.rs b/packages/router/src/service.rs index 5487bcc24..ad45083ed 100644 --- a/packages/router/src/service.rs +++ b/packages/router/src/service.rs @@ -2,7 +2,8 @@ use gloo::history::{BrowserHistory, History, HistoryListener, Location}; use std::{ cell::{Cell, Ref, RefCell}, collections::{HashMap, HashSet}, - rc::Rc, sync::Arc, + rc::Rc, + sync::Arc, }; use dioxus_core::ScopeId;