From f21d1209aa576a3e597c100fa56afe554dc2babd Mon Sep 17 00:00:00 2001 From: 无限UCW Date: Fri, 12 Aug 2022 01:57:05 +0800 Subject: Relax `Fn` trait bounds in `Command` & `Action` --- native/src/command/action.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'native/src/command/action.rs') diff --git a/native/src/command/action.rs b/native/src/command/action.rs index 3fb02899..549632dd 100644 --- a/native/src/command/action.rs +++ b/native/src/command/action.rs @@ -35,7 +35,7 @@ impl Action { /// [`Command`]: crate::Command pub fn map( self, - f: impl Fn(T) -> A + 'static + MaybeSend + Sync, + f: impl FnMut(T) -> A + 'static + MaybeSend + Sync, ) -> Action where A: 'static, -- cgit