Run cargo fmt
This commit is contained in:
parent
28caeccf22
commit
9ceb467e6e
59 changed files with 100 additions and 98 deletions
|
|
@ -22,9 +22,9 @@ impl crate::Executor for Executor {
|
|||
|
||||
pub mod time {
|
||||
//! Listen and react to time.
|
||||
use crate::MaybeSend;
|
||||
use crate::core::time::{Duration, Instant};
|
||||
use crate::subscription::Subscription;
|
||||
use crate::MaybeSend;
|
||||
|
||||
use futures::stream;
|
||||
use std::future::Future;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
//! Listen to runtime events.
|
||||
use crate::MaybeSend;
|
||||
use crate::core::event::{self, Event};
|
||||
use crate::core::window;
|
||||
use crate::subscription::{self, Subscription};
|
||||
use crate::MaybeSend;
|
||||
|
||||
/// Returns a [`Subscription`] to all the ignored runtime events.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
//! Listen to keyboard events.
|
||||
use crate::MaybeSend;
|
||||
use crate::core;
|
||||
use crate::core::event;
|
||||
use crate::core::keyboard::{Event, Key, Modifiers};
|
||||
use crate::subscription::{self, Subscription};
|
||||
use crate::MaybeSend;
|
||||
|
||||
/// Listens to keyboard key presses and calls the given function
|
||||
/// to map them into actual messages.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
use crate::subscription;
|
||||
use crate::{BoxFuture, BoxStream, Executor, MaybeSend};
|
||||
|
||||
use futures::{channel::mpsc, Sink};
|
||||
use futures::{Sink, channel::mpsc};
|
||||
use std::marker::PhantomData;
|
||||
|
||||
/// A batteries-included runtime of commands and subscriptions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue