Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Sep 12, 2024
1 parent 42e52b4 commit 8002fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,12 @@ pub extern "C" fn zc_publisher_matching_listener_declare(
let listener = publisher
.matching_listener()
.callback_mut(move |matching_status| {
let mut status = zc_matching_status_t {
let status = zc_matching_status_t {
matching: matching_status.matching_subscribers(),
};
zc_closure_matching_status_call(
zc_closure_matching_status_loan(&callback),
&mut status,
&status,
);
})
.wait();
Expand Down

0 comments on commit 8002fd2

Please sign in to comment.