diff --git a/crates/collab/src/tests/integration_tests.rs b/crates/collab/src/tests/integration_tests.rs index 0a5c7e1d3a69711ffa24d775b6a6eeb997ece68a..b34b8ee1259ebf2226284230ad6705455d6147c7 100644 --- a/crates/collab/src/tests/integration_tests.rs +++ b/crates/collab/src/tests/integration_tests.rs @@ -1477,7 +1477,9 @@ async fn test_host_disconnect( .unwrap() .downcast::() .unwrap(); - assert!(cx_b.read_window(window_id_b, |cx| editor_b.is_focused(cx)).unwrap()); + assert!(cx_b + .read_window(window_id_b, |cx| editor_b.is_focused(cx)) + .unwrap()); editor_b.update(cx_b, |editor, cx| editor.insert("X", cx)); assert!(cx_b.is_window_edited(workspace_b.window_id())); diff --git a/crates/feedback/src/feedback_editor.rs b/crates/feedback/src/feedback_editor.rs index 8a3656006bc152e7cdd7da1a7b2885da67691f6a..98566a2361d55c592fff1578c4079fa22be1a139 100644 --- a/crates/feedback/src/feedback_editor.rs +++ b/crates/feedback/src/feedback_editor.rs @@ -248,12 +248,7 @@ impl Entity for FeedbackEditor { } impl Item for FeedbackEditor { - fn tab_content( - &self, - _: Option, - style: &theme::Tab, - _: &AppContext, - ) -> Element { + fn tab_content(&self, _: Option, style: &theme::Tab, _: &AppContext) -> Element { Flex::row() .with_child( Svg::new("icons/feedback_16.svg") diff --git a/crates/gpui/src/test.rs b/crates/gpui/src/test.rs index c804b297bdd69478f485430ea18081f358fbbaf2..d2ae646ed4a22f08a2a2a85558bde97c5aa186b0 100644 --- a/crates/gpui/src/test.rs +++ b/crates/gpui/src/test.rs @@ -19,8 +19,8 @@ use crate::{ platform, platform::Platform, util::CwdBacktrace, - AppContext, Drawable, Element, Entity, FontCache, Handle, Subscription, TestAppContext, - View, ViewContext, + AppContext, Drawable, Element, Entity, FontCache, Handle, Subscription, TestAppContext, View, + ViewContext, }; #[cfg(test)] diff --git a/crates/theme_selector/src/theme_selector.rs b/crates/theme_selector/src/theme_selector.rs index c35dae5c603fb7652bba86eb23c2371e4a44094f..68bc17a576db1f26f7ec5c515ab12b28a5d3ddd0 100644 --- a/crates/theme_selector/src/theme_selector.rs +++ b/crates/theme_selector/src/theme_selector.rs @@ -1,7 +1,7 @@ use fuzzy::{match_strings, StringMatch, StringMatchCandidate}; use gpui::{ - actions, elements::*, AnyViewHandle, AppContext, Drawable, Element, Entity, MouseState, - View, ViewContext, ViewHandle, + actions, elements::*, AnyViewHandle, AppContext, Drawable, Element, Entity, MouseState, View, + ViewContext, ViewHandle, }; use picker::{Picker, PickerDelegate}; use settings::{settings_file::SettingsFile, Settings}; diff --git a/crates/workspace/src/status_bar.rs b/crates/workspace/src/status_bar.rs index a6eade036524ad99162b6d65aad98d48df96e820..0a85f3779ce63b159e64f426720fe1e8a52fa787 100644 --- a/crates/workspace/src/status_bar.rs +++ b/crates/workspace/src/status_bar.rs @@ -8,8 +8,8 @@ use gpui::{ vector::{vec2f, Vector2F}, }, json::{json, ToJson}, - AnyViewHandle, AppContext, Element, Entity, SceneBuilder, SizeConstraint, Subscription, - View, ViewContext, ViewHandle, + AnyViewHandle, AppContext, Element, Entity, SceneBuilder, SizeConstraint, Subscription, View, + ViewContext, ViewHandle, }; use settings::Settings;