From a8061232a5eccd8623b0ba6295c21f2ec4f34746 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 3 Jan 2024 13:13:46 -0800 Subject: [PATCH] cargo fmt --- crates/collab_ui/src/face_pile.rs | 4 +--- crates/ui/src/components/popover.rs | 9 ++++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/crates/collab_ui/src/face_pile.rs b/crates/collab_ui/src/face_pile.rs index a2248b3498..fb6c59cc80 100644 --- a/crates/collab_ui/src/face_pile.rs +++ b/crates/collab_ui/src/face_pile.rs @@ -1,6 +1,4 @@ -use gpui::{ - div, AnyElement, IntoElement, ParentElement, RenderOnce, Styled, WindowContext, -}; +use gpui::{div, AnyElement, IntoElement, ParentElement, RenderOnce, Styled, WindowContext}; use smallvec::SmallVec; #[derive(Default, IntoElement)] diff --git a/crates/ui/src/components/popover.rs b/crates/ui/src/components/popover.rs index 7e881d74c0..acab1e2087 100644 --- a/crates/ui/src/components/popover.rs +++ b/crates/ui/src/components/popover.rs @@ -1,10 +1,9 @@ -use gpui::{ - div, AnyElement, Element, IntoElement, ParentElement, RenderOnce, Styled, - WindowContext, -}; -use smallvec::SmallVec; use crate::prelude::*; use crate::v_stack; +use gpui::{ + div, AnyElement, Element, IntoElement, ParentElement, RenderOnce, Styled, WindowContext, +}; +use smallvec::SmallVec; /// A popover is used to display a menu or show some options. ///