Skip to content

Commit 1e70b39

Browse files
committed
style: fmt
Signed-off-by: ekexium <[email protected]>
1 parent 873fde5 commit 1e70b39

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/raw/client.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -531,14 +531,10 @@ impl Client {
531531
}
532532

533533
fn assert_non_atomic(&self) -> Result<()> {
534-
(!self.atomic)
535-
.then(|| ())
536-
.ok_or(Error::UnsupportedMode)
534+
(!self.atomic).then(|| ()).ok_or(Error::UnsupportedMode)
537535
}
538536

539537
fn assert_atomic(&self) -> Result<()> {
540-
self.atomic
541-
.then(|| ())
542-
.ok_or(Error::UnsupportedMode)
538+
self.atomic.then(|| ()).ok_or(Error::UnsupportedMode)
543539
}
544540
}

0 commit comments

Comments
 (0)