From 4491873ac8e7f53f30a039bf6f75c7718aedd151 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 13 Aug 2021 20:16:12 -0400 Subject: [PATCH] Docs --- syndicate/src/actor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syndicate/src/actor.rs b/syndicate/src/actor.rs index 45d87b6..f11db18 100644 --- a/syndicate/src/actor.rs +++ b/syndicate/src/actor.rs @@ -60,8 +60,8 @@ pub type Handle = u64; /// Responses to events must have type `ActorResult`. pub type ActorResult = Result<(), Error>; -/// When integrating actors with [tokio], an `ActorHandle` represents -/// an actor mainloop task. +/// Methods [`Actor::boot`] and [`Actor::start`] return an +/// `ActorHandle`, representing the actor's mainloop task. pub type ActorHandle = tokio::task::JoinHandle; /// A small protocol for indicating successful synchronisation with