summaryrefslogtreecommitdiffstats
path: root/futures/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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()