Fix clippy and remove borrows

Fix clippy lints and remove unneded borrows when logging or printing
macros.
This commit is contained in:
finga 2021-12-03 14:57:38 +01:00
parent 1aab989000
commit 8f93d2d6c8
6 changed files with 15 additions and 15 deletions

View file

@ -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(())