Fix the formatting

Kirill Bulatov created

Change summary

crates/gpui2/src/color.rs              | 3 ---
crates/gpui2/src/svg_renderer.rs       | 2 +-
crates/ui2/src/components/workspace.rs | 4 ++--
3 files changed, 3 insertions(+), 6 deletions(-)

Detailed changes

crates/gpui2/src/color.rs 🔗

@@ -60,7 +60,6 @@ impl From<Rgba> for u32 {
     }
 }
 
-
 struct RgbaVisitor;
 
 impl<'de> Visitor<'de> for RgbaVisitor {
@@ -157,10 +156,8 @@ impl Hsla {
     }
 }
 
-
 impl Eq for Hsla {}
 
-
 pub fn hsla(h: f32, s: f32, l: f32, a: f32) -> Hsla {
     Hsla {
         h: h.clamp(0., 1.),

crates/gpui2/src/svg_renderer.rs 🔗

@@ -1,4 +1,4 @@
-use crate::{DevicePixels, IsZero, Result, SharedString, Size, AssetSource};
+use crate::{AssetSource, DevicePixels, IsZero, Result, SharedString, Size};
 use anyhow::anyhow;
 use std::{hash::Hash, sync::Arc};
 

crates/ui2/src/components/workspace.rs 🔗

@@ -3,13 +3,13 @@ use std::sync::Arc;
 use chrono::DateTime;
 use gpui2::{px, relative, rems, view, Context, Size, View};
 
-use crate::{prelude::*, NotificationsPanel};
 use crate::{
-    static_livestream, old_theme, user_settings_mut, v_stack, AssistantPanel, Button, ChatMessage,
+    old_theme, static_livestream, user_settings_mut, v_stack, AssistantPanel, Button, ChatMessage,
     ChatPanel, CollabPanel, EditorPane, FakeSettings, Label, LanguageSelector, Pane, PaneGroup,
     Panel, PanelAllowedSides, PanelSide, ProjectPanel, SettingValue, SplitDirection, StatusBar,
     Terminal, TitleBar, Toast, ToastOrigin,
 };
+use crate::{prelude::*, NotificationsPanel};
 
 #[derive(Clone)]
 pub struct Gpui2UiDebug {