From 8858dc42274712e2f81a8d47da68e5c17b44d044 Mon Sep 17 00:00:00 2001 From: Georgy Moshkin <gmoshkin@picodata.io> Date: Thu, 5 Dec 2024 20:31:28 +0300 Subject: [PATCH] chore: new rustfmt dropped --- sbroad/sbroad-core/src/utils.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sbroad/sbroad-core/src/utils.rs b/sbroad/sbroad-core/src/utils.rs index b119077181..8f913890f9 100644 --- a/sbroad/sbroad-core/src/utils.rs +++ b/sbroad/sbroad-core/src/utils.rs @@ -23,7 +23,10 @@ pub trait MutexLike<T> { } impl<T> MutexLike<T> for TMutex<T> { - type Guard<'a> = TMutexGuard<'a, T> where T: 'a; + type Guard<'a> + = TMutexGuard<'a, T> + where + T: 'a; fn lock(&self) -> Self::Guard<'_> { self.lock() @@ -31,8 +34,10 @@ impl<T> MutexLike<T> for TMutex<T> { } impl<T> MutexLike<T> for RefCell<T> { - type Guard<'a> = RefMut<'a, T> - where T: 'a; + type Guard<'a> + = RefMut<'a, T> + where + T: 'a; fn lock(&self) -> Self::Guard<'_> { self.borrow_mut() -- GitLab