diff options
Diffstat (limited to 'native/src/command/action.rs')
-rw-r--r-- | native/src/command/action.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/command/action.rs b/native/src/command/action.rs index 549632dd..3fb02899 100644 --- a/native/src/command/action.rs +++ b/native/src/command/action.rs @@ -35,7 +35,7 @@ impl<T> Action<T> { /// [`Command`]: crate::Command pub fn map<A>( self, - f: impl FnMut(T) -> A + 'static + MaybeSend + Sync, + f: impl Fn(T) -> A + 'static + MaybeSend + Sync, ) -> Action<A> where A: 'static, |