chore: fmt

This commit is contained in:
Piotr Osiewicz 2023-08-31 15:43:50 +02:00
parent 110bb84261
commit 62949d20a7
4 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,6 @@
use gpui::platform::Event;
use gpui::LayoutContext;
use gpui::{ use gpui::{
Action,
actions, actions,
elements::*, elements::*,
impl_actions, impl_actions,
@ -9,10 +10,9 @@ use gpui::{
text_layout::*, text_layout::*,
util::post_inc, util::post_inc,
window::ChildView, window::ChildView,
AnyViewHandle, AnyWindowHandle, AppContext, Entity, ModelContext, ModelHandle, TestAppContext, Action, AnyViewHandle, AnyWindowHandle, AppContext, Entity, ModelContext, ModelHandle,
View, ViewContext, ViewHandle, TestAppContext, View, ViewContext, ViewHandle,
};use gpui::LayoutContext; };
use gpui::platform::Event;
use itertools::Itertools; use itertools::Itertools;
use postage::{sink::Sink, stream::Stream}; use postage::{sink::Sink, stream::Stream};
use serde::Deserialize; use serde::Deserialize;

View file

@ -1,8 +1,8 @@
use gpui::AppContext;
use gpui::color::Color; use gpui::color::Color;
use gpui::elements::{Label, LabelStyle}; use gpui::elements::{Label, LabelStyle};
use gpui::fonts::{Properties as FontProperties, TextStyle, Weight}; use gpui::fonts::{Properties as FontProperties, TextStyle, Weight};
use gpui::text_layout::RunStyle; use gpui::text_layout::RunStyle;
use gpui::AppContext;
#[crate::test(self)] #[crate::test(self)]
fn test_layout_label_with_highlights(cx: &mut AppContext) { fn test_layout_label_with_highlights(cx: &mut AppContext) {

View file

@ -1,15 +1,15 @@
use gpui::elements::list::ListItem; use gpui::elements::list::ListItem;
use gpui::elements::List; use gpui::elements::List;
use gpui::Element; use gpui::elements::ListOffset;
use gpui::elements::ListState;
use gpui::elements::Orientation; use gpui::elements::Orientation;
use gpui::geometry::rect::RectF; use gpui::geometry::rect::RectF;
use gpui::geometry::vector::Vector2F; use gpui::geometry::vector::Vector2F;
use gpui::serde_json; use gpui::serde_json;
use gpui::AnyElement; use gpui::AnyElement;
use gpui::AppContext; use gpui::AppContext;
use gpui::Element;
use gpui::LayoutContext; use gpui::LayoutContext;
use gpui::elements::ListOffset;
use gpui::elements::ListState;
use gpui::SceneBuilder; use gpui::SceneBuilder;
use gpui::SizeConstraint; use gpui::SizeConstraint;
use gpui::View; use gpui::View;

View file

@ -1,9 +1,9 @@
use gpui::elements::Text; use gpui::elements::Text;
use gpui::geometry::vector::vec2f; use gpui::geometry::vector::vec2f;
use gpui::Element;
use gpui::LayoutContext; use gpui::LayoutContext;
use gpui::SizeConstraint; use gpui::SizeConstraint;
use gpui::{elements::Empty, fonts, AnyElement, AppContext, Entity, View, ViewContext}; use gpui::{elements::Empty, fonts, AnyElement, AppContext, Entity, View, ViewContext};
use gpui::Element;
#[crate::test(self)] #[crate::test(self)]
fn test_soft_wrapping_with_carriage_returns(cx: &mut AppContext) { fn test_soft_wrapping_with_carriage_returns(cx: &mut AppContext) {