Skip to content

Commit 0fd9ca9

Browse files
committed
fix(dmq): remove unneeded 'Debug' in 'DmqPublisher' trait
1 parent 11a9726 commit 0fd9ca9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
use std::fmt::Debug;
2-
31
use mithril_common::{crypto_helper::TryToBytes, StdResult};
42

53
/// Trait for publishing messages from a DMQ node.
64
#[cfg_attr(test, mockall::automock)]
75
#[async_trait::async_trait]
8-
pub trait DmqPublisher<M: TryToBytes + Debug + Send + Sync>: Send + Sync {
6+
pub trait DmqPublisher<M: TryToBytes + Send + Sync>: Send + Sync {
97
/// Publishes a message to the DMQ node.
108
async fn publish_message(&self, message: M) -> StdResult<()>;
119
}

0 commit comments

Comments
 (0)