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()