From f1e18d09354ec8726954581961e3907ab42b521e Mon Sep 17 00:00:00 2001 From: Olivier Pinon Date: Sat, 25 Apr 2020 02:05:17 +0200 Subject: [PATCH] #321 cargo fmt --- futures/src/command.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/futures/src/command.rs b/futures/src/command.rs index a4b3d64b43..25acbda022 100644 --- a/futures/src/command.rs +++ b/futures/src/command.rs @@ -81,10 +81,7 @@ impl Command { /// /// [`Command`]: struct.Command.html #[cfg(target_arch = "wasm32")] - pub fn map( - mut self, - f: impl Fn(T) -> A + 'static, - ) -> Command + pub fn map(mut self, f: impl Fn(T) -> A + 'static) -> Command where T: 'static, { @@ -151,7 +148,6 @@ where } } - impl std::fmt::Debug for Command { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.debug_struct("Command").finish()