diff options
author | 2019-11-18 00:10:40 +0100 | |
---|---|---|
committer | 2019-11-18 00:10:40 +0100 | |
commit | a803ab240b9b5d1a073454f814229bad9d8bdafc (patch) | |
tree | 12b44006dfdcfcc46579be8a43b95b69e60d9668 /core | |
parent | b2392d28bd7bf968b43cbdb6ce973160a275a681 (diff) | |
download | iced-a803ab240b9b5d1a073454f814229bad9d8bdafc.tar.gz iced-a803ab240b9b5d1a073454f814229bad9d8bdafc.tar.bz2 iced-a803ab240b9b5d1a073454f814229bad9d8bdafc.zip |
Rename `Command::attempt` to `Command::perform`
Diffstat (limited to 'core')
-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> { |