mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 13:26:38 +03:00
chore: clippy::useless-borrows-in-formatting fixes
This commit is contained in:
@@ -218,7 +218,7 @@ pub(crate) fn maybe_network_lost(context: &Context, stores: Vec<ConnectivityStor
|
||||
impl fmt::Debug for ConnectivityStore {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
if let Some(guard) = self.0.try_lock() {
|
||||
write!(f, "ConnectivityStore {:?}", &*guard)
|
||||
write!(f, "ConnectivityStore {:?}", *guard)
|
||||
} else {
|
||||
write!(f, "ConnectivityStore [LOCKED]")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user