From a803ab240b9b5d1a073454f814229bad9d8bdafc Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 18 Nov 2019 00:10:40 +0100 Subject: Rename `Command::attempt` to `Command::perform` --- core/src/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/command.rs') 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 Command { } } - pub fn attempt( + pub fn perform( future: impl Future + 'static + Send, f: impl Fn(T) -> A + 'static + Send, ) -> Command { -- cgit