From 45af724d03227760486e94eaab440859e10c9f5b Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sun, 14 Apr 2024 19:29:35 +0200 Subject: [PATCH] Fix doc comment --- src/sync.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sync.rs b/src/sync.rs index 8bb3b2f8..393a6227 100644 --- a/src/sync.rs +++ b/src/sync.rs @@ -72,8 +72,8 @@ pub use crate::future::InboxSize; /// which can be used for receiving messages. As with asynchronous actors /// communication is done via message sending, using [actor references]. /// -/// The easiest way to implement this trait by using functions, see the [module -/// level] documentation for an example of this. All functions *pointers* that +/// The easiest way to implement this trait by using functions, see the [actor +/// module] documentation for an example of this. All functions *pointers* that /// accept a [`sync::Context`] as argument and return `Result<(), Error>` or /// `()` implement the `SyncActor` trait. There is also the [`ActorFn`] helper /// type to implement the trait for any function. @@ -83,7 +83,7 @@ pub use crate::future::InboxSize; /// [actors]: crate::Actor /// [context]: Context /// [actor references]: crate::ActorRef -/// [module level]: crate::actor +/// [actor module]: crate::actor /// [`sync::Context`]: Context pub trait SyncActor { /// The type of messages the synchronous actor can receive.