From 4d9edf636418b861e9e80c9a64fdeb2ce502ea11 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 1 Dec 2024 18:03:34 -0500 Subject: [PATCH] Remove unnecessary deref coercion --- native/philomena/src/zip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/philomena/src/zip.rs b/native/philomena/src/zip.rs index 24afd300..14489ee2 100644 --- a/native/philomena/src/zip.rs +++ b/native/philomena/src/zip.rs @@ -25,7 +25,7 @@ fn with_writer(writer: WriterResourceArc, f: F) -> Atom where F: FnOnce(&mut Option>) -> Option, { - let mut guard = match (*writer).inner.lock() { + let mut guard = match writer.inner.lock() { Ok(g) => g, Err(_) => return atoms::error(), };