Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky authored Jul 18, 2023
1 parent e14403b commit 0ec7e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gstd/src/lock/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl<'a, T> Drop for MutexGuard<'a, T> {
panic!(
"Mutex guard held by message 0x{} does not match lock owner message 0x{}",
hex::encode(self.holder_msg_id),
owner_msg_id.map_or("None".into(), |v| hex::encode(v))
owner_msg_id.map_or("None".into(), hex::encode)
);
}

Expand Down

0 comments on commit 0ec7e5b

Please sign in to comment.