Fix clippy and remove borrows
Fix clippy lints and remove unneded borrows when logging or printing macros.
This commit is contained in:
parent
1aab989000
commit
8f93d2d6c8
6 changed files with 15 additions and 15 deletions
|
@ -16,7 +16,7 @@ impl Info {
|
|||
|
||||
println!(
|
||||
"Message queue: {}, msg_max: {}, msgsize_max: {}, current_messages: {}",
|
||||
&self.queue, &attrs.capacity, &attrs.max_msg_len, &attrs.current_messages
|
||||
self.queue, attrs.capacity, attrs.max_msg_len, attrs.current_messages
|
||||
);
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue