Skip to content

Commit

Permalink
docs: fix doc test failing with on_stop actor method
Browse files Browse the repository at this point in the history
  • Loading branch information
tqwewe committed Oct 21, 2024
1 parent 01dbbad commit b74c983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub use spawn::*;
/// }
///
/// async fn on_stop(
/// self,
/// &mut self,
/// actor_ref: WeakActorRef<Self>,
/// reason: ActorStopReason,
/// ) -> Result<(), BoxError> {
Expand Down

0 comments on commit b74c983

Please sign in to comment.