Skip to content

Commit

Permalink
fix: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Jan 22, 2025
1 parent e3ab6e5 commit cfa60f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actor-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub fn actor(item: TokenStream) -> TokenStream {
}
}

/// Handle for [`#struct_name`].
#[doc = concat!("Handle for [`", stringify!(#actor_trait), "`].")]
#[derive(Debug)]
pub struct #handle_name #generics {
sender: ceramic_actor::Sender<#envelope_name>,
Expand Down
4 changes: 2 additions & 2 deletions actor/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ macro_rules! actor_envelope {
}
}
#[doc = std::stringify!($actor_trait)]
#[doc = " is an [`crate::Actor`] and [`crate::Handler`] for each message type in the actor envelope "]
#[doc = " is an [`ceramic_actor::Actor`] and [`ceramic_actor::Handler`] for each message type in the actor envelope "]
#[doc = stringify!($enum_name)]
#[doc = "."]
pub trait $actor_trait : $crate::Actor<Envelope = $enum_name> $( + $crate::Handler<$message_type> )* + ::std::marker::Send + 'static { }

#[doc = std::stringify!($actor_trait)]
#[doc = std::stringify!($recorder_trait)]
#[doc = " is an [`ceramic_metrics::Recorder`] for each message type in the actor envelope "]
#[doc = stringify!($enum_name)]
#[doc = "."]
Expand Down
2 changes: 1 addition & 1 deletion pipeline/src/concluder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ actor_envelope! {
/// Notify actor of new events
#[derive(Debug)]
pub struct NewEventsMsg {
/// Events as a record batch, must have the schema of the [`CONCLUSION_EVENTS_TABLE`].
/// Events as a record batch, must have the schema of the [`crate::schemas::conclusion_events`] table.
pub events: RecordBatch,
}
impl Message for NewEventsMsg {
Expand Down

0 comments on commit cfa60f2

Please sign in to comment.