Skip to content

Commit

Permalink
Fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Apr 14, 2024
1 parent 3b6c014 commit 45af724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 45af724

Please sign in to comment.