This commit is contained in:
Rob Ede 2021-01-29 00:15:02 +00:00
parent e6a2043659
commit 03febde4da
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ impl Arbiter {
/// ///
/// If you require a result, include a response channel in the future. /// If you require a result, include a response channel in the future.
/// ///
/// Returns true if function was sent successfully and false if the Arbiter has died. /// Returns true if future was sent successfully and false if the Arbiter has died.
pub fn spawn<Fut>(&self, future: Fut) -> bool pub fn spawn<Fut>(&self, future: Fut) -> bool
where where
Fut: Future<Output = ()> + Unpin + Send + 'static, Fut: Future<Output = ()> + Unpin + Send + 'static,