mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 14:17:02 +00:00
Fix the formatting
This commit is contained in:
parent
0a04c5734b
commit
27d2accb51
3 changed files with 3 additions and 6 deletions
|
@ -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.),
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue