Run cargo fmt
This commit is contained in:
parent
28caeccf22
commit
9ceb467e6e
59 changed files with 100 additions and 98 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//! Load and use fonts.
|
||||
use crate::task::{self, Task};
|
||||
use crate::Action;
|
||||
use crate::task::{self, Task};
|
||||
use std::borrow::Cow;
|
||||
|
||||
/// An error while loading a font.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
//! Build interactive programs using The Elm Architecture.
|
||||
use crate::Task;
|
||||
use crate::core::text;
|
||||
use crate::core::window;
|
||||
use crate::core::{Element, Renderer};
|
||||
use crate::Task;
|
||||
|
||||
/// The core of a user interface for a multi-window application following The Elm Architecture.
|
||||
pub trait Program: Sized {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
//! Build interactive programs using The Elm Architecture.
|
||||
use crate::Task;
|
||||
|
||||
use iced_core::text;
|
||||
use iced_core::Element;
|
||||
use iced_core::text;
|
||||
|
||||
mod state;
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ use crate::core::window::{
|
|||
UserAttention,
|
||||
};
|
||||
use crate::core::{Point, Size};
|
||||
use crate::futures::Subscription;
|
||||
use crate::futures::event;
|
||||
use crate::futures::futures::channel::oneshot;
|
||||
use crate::futures::Subscription;
|
||||
use crate::task::{self, Task};
|
||||
|
||||
pub use raw_window_handle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue