From 54dcb140d4b8d30dd6e698d0ea17dbdeaaa17163 Mon Sep 17 00:00:00 2001 From: Danilo Leal Date: Fri, 12 Sep 2025 20:56:09 -0300 Subject: [PATCH] Run cargo fmt --- crates/agent_ui/src/acp/thread_history.rs | 4 +--- crates/editor/src/editor.rs | 4 ++-- crates/editor/src/signature_help.rs | 4 ++-- crates/recent_projects/src/remote_servers.rs | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/crates/agent_ui/src/acp/thread_history.rs b/crates/agent_ui/src/acp/thread_history.rs index d62d3e2a8c..999fda956b 100644 --- a/crates/agent_ui/src/acp/thread_history.rs +++ b/crates/agent_ui/src/acp/thread_history.rs @@ -11,9 +11,7 @@ use gpui::{ use std::{fmt::Display, ops::Range}; use text::Bias; use time::{OffsetDateTime, UtcOffset}; -use ui::{ - HighlightedLabel, ListItem, ListItemSpacing, WithScrollbar, Tooltip, prelude::*, -}; +use ui::{HighlightedLabel, ListItem, ListItemSpacing, Tooltip, WithScrollbar, prelude::*}; pub struct AcpThreadHistory { pub(crate) history_store: Entity, diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 0ca2106157..b6bda50393 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -195,8 +195,8 @@ use theme::{ observe_buffer_font_size_adjustment, }; use ui::{ - ButtonSize, ButtonStyle, ContextMenu, Disclosure, IconButton, IconName, - IconSize, Indicator, Key, Tooltip, h_flex, prelude::*, scrollbars::ScrollbarAutoHide, + ButtonSize, ButtonStyle, ContextMenu, Disclosure, IconButton, IconName, IconSize, Indicator, + Key, Tooltip, h_flex, prelude::*, scrollbars::ScrollbarAutoHide, }; use util::{RangeExt, ResultExt, TryFutureExt, maybe, post_inc}; use workspace::{ diff --git a/crates/editor/src/signature_help.rs b/crates/editor/src/signature_help.rs index cd8e3f8bea..74d7e3ecd2 100644 --- a/crates/editor/src/signature_help.rs +++ b/crates/editor/src/signature_help.rs @@ -14,8 +14,8 @@ use text::Rope; use theme::ThemeSettings; use ui::{ ActiveTheme, AnyElement, ButtonCommon, ButtonStyle, Clickable, FluentBuilder, IconButton, - IconName, IconSize, InteractiveElement, IntoElement, Label, LabelCommon, - LabelSize, ParentElement, Pixels, SharedString, StatefulInteractiveElement, Styled, StyledExt, + IconName, IconSize, InteractiveElement, IntoElement, Label, LabelCommon, LabelSize, + ParentElement, Pixels, SharedString, StatefulInteractiveElement, Styled, StyledExt, WithScrollbar, div, relative, }; diff --git a/crates/recent_projects/src/remote_servers.rs b/crates/recent_projects/src/remote_servers.rs index c39fd0f6f5..fe0412a989 100644 --- a/crates/recent_projects/src/remote_servers.rs +++ b/crates/recent_projects/src/remote_servers.rs @@ -33,8 +33,8 @@ use std::{ }, }; use ui::{ - List, ListItem, ListSeparator, Modal, ModalHeader, Navigable, NavigableEntry, - Section, Tooltip, WithScrollbar, prelude::*, + List, ListItem, ListSeparator, Modal, ModalHeader, Navigable, NavigableEntry, Section, Tooltip, + WithScrollbar, prelude::*, }; use util::{ ResultExt,