Run cargo fmt

This commit is contained in:
Héctor Ramón Jiménez 2025-02-21 01:22:56 +01:00
parent 28caeccf22
commit 9ceb467e6e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
59 changed files with 100 additions and 98 deletions

View file

@ -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;

View file

@ -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.
///

View file

@ -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.

View file

@ -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.