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

View file

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

View file

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

View file

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