From e14403ba88a7e61fca6cffd73f4679a103f37542 Mon Sep 17 00:00:00 2001 From: Dennis Diatlov Date: Tue, 18 Jul 2023 19:43:07 +0100 Subject: [PATCH] Make clippy happy --- gstd/src/lock/mutex.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gstd/src/lock/mutex.rs b/gstd/src/lock/mutex.rs index 766ff926573..bae78063cf8 100644 --- a/gstd/src/lock/mutex.rs +++ b/gstd/src/lock/mutex.rs @@ -148,9 +148,9 @@ impl<'a, T> Drop for MutexGuard<'a, T> { if owner_msg_id != Some(self.holder_msg_id) && !is_holder_msg_signal_handler { // If owner_msg_id is None or not equal to the holder_msg_id, firstly, it means - // we are in the message signal handler and, secondly, the lock was seized by some - // other message. In this case the next rival message was awoken by the ousting - // mechanism in the MutexLockFuture::poll + // we are in the message signal handler and, secondly, the lock was seized by + // some other message. In this case, the next rival message was + // awoken by the ousting mechanism in the MutexLockFuture::poll panic!( "Mutex guard held by message 0x{} does not match lock owner message 0x{}", hex::encode(self.holder_msg_id),