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` --- runtime/src/task.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/src/task.rs') diff --git a/runtime/src/task.rs b/runtime/src/task.rs index 022483f7..105a4135 100644 --- a/runtime/src/task.rs +++ b/runtime/src/task.rs @@ -1,17 +1,17 @@ //! Create runtime tasks. +use crate::Action; use crate::core::widget; use crate::futures::futures::channel::mpsc; use crate::futures::futures::channel::oneshot; use crate::futures::futures::future::{self, FutureExt}; use crate::futures::futures::stream::{self, Stream, StreamExt}; -use crate::futures::{boxed_stream, BoxStream, MaybeSend}; -use crate::Action; +use crate::futures::{BoxStream, MaybeSend, boxed_stream}; use std::future::Future; use std::sync::Arc; #[doc(no_inline)] -pub use sipper::{sipper, stream, Never, Sender, Sipper, Straw}; +pub use sipper::{Never, Sender, Sipper, Straw, sipper, stream}; /// A set of concurrent actions to be performed by the iced runtime. /// -- cgit From c12beecd387ad57eef434b64598473f613e32f57 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 21 Feb 2025 01:41:42 +0100 Subject: Remove unnecessary `Future` imports --- runtime/src/task.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'runtime/src/task.rs') diff --git a/runtime/src/task.rs b/runtime/src/task.rs index 105a4135..710be5d9 100644 --- a/runtime/src/task.rs +++ b/runtime/src/task.rs @@ -7,7 +7,6 @@ use crate::futures::futures::future::{self, FutureExt}; use crate::futures::futures::stream::{self, Stream, StreamExt}; use crate::futures::{BoxStream, MaybeSend, boxed_stream}; -use std::future::Future; use std::sync::Arc; #[doc(no_inline)] -- cgit