diff options
Diffstat (limited to 'core/src/command.rs')
-rw-r--r-- | core/src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/command.rs b/core/src/command.rs index ae901bd8..e1c865dd 100644 --- a/core/src/command.rs +++ b/core/src/command.rs @@ -11,7 +11,7 @@ impl<T> Command<T> { } } - pub fn attempt<A>( + pub fn perform<A>( future: impl Future<Output = T> + 'static + Send, f: impl Fn(T) -> A + 'static + Send, ) -> Command<A> { |