From 9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 21 Feb 2025 01:22:56 +0100 Subject: Run `cargo fmt` --- src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 441826d6..95820ed7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -505,22 +505,22 @@ pub use crate::core::gradient; pub use crate::core::padding; pub use crate::core::theme; pub use crate::core::{ - never, Alignment, Animation, Background, Border, Color, ContentFit, - Degrees, Function, Gradient, Length, Padding, Pixels, Point, Radians, - Rectangle, Rotation, Settings, Shadow, Size, Theme, Transformation, Vector, + Alignment, Animation, Background, Border, Color, ContentFit, Degrees, + Function, Gradient, Length, Padding, Pixels, Point, Radians, Rectangle, + Rotation, Settings, Shadow, Size, Theme, Transformation, Vector, never, }; pub use crate::runtime::exit; pub use iced_futures::Subscription; -pub use alignment::Horizontal::{Left, Right}; -pub use alignment::Vertical::{Bottom, Top}; pub use Alignment::Center; pub use Length::{Fill, FillPortion, Shrink}; +pub use alignment::Horizontal::{Left, Right}; +pub use alignment::Vertical::{Bottom, Top}; pub mod task { //! Create runtime tasks. pub use crate::runtime::task::{ - sipper, stream, Handle, Never, Sipper, Straw, Task, + Handle, Never, Sipper, Straw, Task, sipper, stream, }; } @@ -683,7 +683,7 @@ pub fn run( title: impl application::Title + 'static, update: impl application::Update + 'static, view: impl for<'a> application::View<'a, State, Message, Theme, Renderer> - + 'static, + + 'static, ) -> Result where State: Default + 'static, -- cgit