1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 21:22:57 +01:00

Minor grammatical fix to docs.

This commit is contained in:
Eric Findlay 2020-01-10 20:52:49 +09:00
parent 7c5fa25b23
commit 3b4f222242

View File

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