Skip to content

Commit

Permalink
fix(amplifier-api): fix doc comment format (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Felipe da Silva <[email protected]>
  • Loading branch information
frenzox committed Dec 18, 2024
1 parent 08a2c0b commit f4b8b4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/amplifier-api/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ mod id {
Self(format!("cannot-execute-task-v2-{}", task_item_id.0))
}

/// Construct a new event id for a [`MessageExecutedEvent`] with [`MessageExecutionStatus::Reverted`]
/// Construct a new event id for a [`MessageExecutedEvent`] with
/// [`MessageExecutionStatus::Reverted`]
#[must_use]
pub fn tx_reverted_event_id(tx_hash: &str) -> Self {
Self(format!("tx-reverted-{tx_hash}"))
Expand Down

0 comments on commit f4b8b4a

Please sign in to comment.