Rename Command::attempt to Command::perform

This commit is contained in:
Héctor Ramón Jiménez 2019-11-18 00:10:40 +01:00
parent b2392d28bd
commit a803ab240b
2 changed files with 3 additions and 3 deletions

View file

@ -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> {