diff options
Diffstat (limited to 'native/src/command.rs')
-rw-r--r-- | native/src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/command.rs b/native/src/command.rs index 3571efc4..89ee7375 100644 --- a/native/src/command.rs +++ b/native/src/command.rs @@ -56,7 +56,7 @@ impl<T> Command<T> { /// Applies a transformation to the result of a [`Command`]. pub fn map<A>( self, - f: impl FnMut(T) -> A + 'static + MaybeSend + Sync + Clone, + f: impl Fn(T) -> A + 'static + MaybeSend + Sync + Clone, ) -> Command<A> where T: 'static, |