Skip to content

Commit

Permalink
[ISSUE #mxsm#945]Optimize request_callback_producer code style
Browse files Browse the repository at this point in the history
  • Loading branch information
universe-dota authored Aug 31, 2024
1 parent 2e22a06 commit 7f589cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketmq-client/examples/rpc/request_callback_producer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub async fn main() -> Result<()> {
producer
.request_with_callback(
Message::with_tags(TOPIC, "", "Hello RocketMQ".as_bytes()),
move |message, result| {
move |message, _result| {
println!(">>>>>>>>>>>>>>>send result: {:?}", message);
let _ = tx.send(());
},
Expand Down

0 comments on commit 7f589cb

Please sign in to comment.