summaryrefslogtreecommitdiffstats
path: root/futures
diff options
context:
space:
mode:
authorLibravatar Olivier Pinon <oliv.pinon@gmail.com>2020-04-25 02:05:17 +0200
committerLibravatar Olivier Pinon <oliv.pinon@gmail.com>2020-04-25 02:05:17 +0200
commitf1e18d09354ec8726954581961e3907ab42b521e (patch)
tree351e649bc3e1e08cff2eb93294a0b522273ff690 /futures
parentce2ed35a1aa2e74ce5417926cc7e56415af36df7 (diff)
downloadiced-f1e18d09354ec8726954581961e3907ab42b521e.tar.gz
iced-f1e18d09354ec8726954581961e3907ab42b521e.tar.bz2
iced-f1e18d09354ec8726954581961e3907ab42b521e.zip
#321 cargo fmt
Diffstat (limited to 'futures')
-rw-r--r--futures/src/command.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/futures/src/command.rs b/futures/src/command.rs
index a4b3d64b..25acbda0 100644
--- a/futures/src/command.rs
+++ b/futures/src/command.rs
@@ -81,10 +81,7 @@ impl<T> Command<T> {
///
/// [`Command`]: struct.Command.html
#[cfg(target_arch = "wasm32")]
- pub fn map<A>(
- mut self,
- f: impl Fn(T) -> A + 'static,
- ) -> Command<A>
+ pub fn map<A>(mut self, f: impl Fn(T) -> A + 'static) -> Command<A>
where
T: 'static,
{
@@ -151,7 +148,6 @@ where
}
}
-
impl<T> std::fmt::Debug for Command<T> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("Command").finish()