Skip to content

Commit

Permalink
[ISSUE #2026]♿️AckMessage extends std::fmt::Display (#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm authored Jan 2, 2025
1 parent e86e4cd commit 2d08ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketmq-store/src/pop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub mod batch_ack_msg;
pub mod pop_check_point;

/// A trait representing an acknowledgment message that can be converted to and from `Any`.
pub trait AckMessage {
pub trait AckMessage: std::fmt::Display {
fn ack_offset(&self) -> i64;
fn set_ack_offset(&mut self, ack_offset: i64);

Expand Down

0 comments on commit 2d08ec9

Please # to comment.