1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 11:00:36 +02:00

Merge pull request #84 from currency-engineering/master

Minor grammatical fix to docs.
This commit is contained in:
Sven-Hendrik Haase
2020-01-10 15:28:19 +01:00
committed by GitHub

View File

@ -42,8 +42,8 @@ impl fmt::Debug for ArbiterCommand {
#[derive(Debug)]
/// Arbiters provide an asynchronous execution environment for actors, functions
/// and futures. When an Arbiter is created, they spawn a new OS thread, and
/// host an event loop. Some Arbiter functions execute on the current thread.
/// and futures. When an Arbiter is created, it spawns a new OS thread, and
/// hosts an event loop. Some Arbiter functions execute on the current thread.
pub struct Arbiter {
sender: UnboundedSender<ArbiterCommand>,
thread_handle: Option<thread::JoinHandle<()>>,