Skip to content

Commit 58fb0f5

Browse files
committed
Clippy
1 parent c0d87a9 commit 58fb0f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdks/rust/src/db_connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ pub(crate) fn debug_log(
819819
body: impl FnOnce(&mut File) -> std::result::Result<(), std::io::Error>,
820820
) {
821821
if let Some(file) = extra_logging {
822-
body(&mut *file.lock().expect("`extra_logging` file Mutex is poisoned")).expect("Writing debug log failed")
822+
body(&mut file.lock().expect("`extra_logging` file Mutex is poisoned")).expect("Writing debug log failed")
823823
}
824824
}
825825

0 commit comments

Comments
 (0)