diff options
Diffstat (limited to '')
-rw-r--r-- | futures/src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/command.rs b/futures/src/command.rs index 05c3a1d0..0b931125 100644 --- a/futures/src/command.rs +++ b/futures/src/command.rs @@ -41,7 +41,7 @@ impl<T> Command<T> { } /// Applies a transformation to the result of a [`Command`]. - pub fn map<A>(self, f: impl Fn(T) -> A) -> Command<A> + pub fn map<A>(self, mut f: impl FnMut(T) -> A) -> Command<A> where T: 'static, { |