From e9e5e01e3d0f22ee4ed9143ab148f914ba1f2fb1 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Thu, 9 May 2024 17:12:52 -0700 Subject: [PATCH] chore: Remove turbofish to fix a build error --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index 87691b34..094621d4 100644 --- a/src/write.rs +++ b/src/write.rs @@ -1759,7 +1759,7 @@ fn write_local_file_header(writer: &mut T, file: &ZipFileData) -> ZipR if let Some(field) = file.extra_field { extra_field_length += field.len(); } - match extra_field_length.try_into::() { + match extra_field_length.try_into() { Ok(length_u16) => writer.write_u16_le(length_u16)?, Err(_) => return Err(ZipError::InvalidArchive("Extra field is too long")), }