From 294564c1a832cd3ab016a79e4e0d70ed6c56e7d8 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Fri, 24 May 2024 14:26:12 -0700 Subject: [PATCH] style: cargo fmt --all --- src/write.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index dee67ee6..44d0fe77 100644 --- a/src/write.rs +++ b/src/write.rs @@ -1813,7 +1813,8 @@ fn write_central_directory_header(writer: &mut T, file: &ZipFileData) writer.write_u32_le(spec::CENTRAL_DIRECTORY_HEADER_SIGNATURE)?; let version_needed = file.version_needed(); // version made by - let version_made_by = (file.system as u16) << 8 | (file.version_made_by as u16).max(version_needed); + let version_made_by = + (file.system as u16) << 8 | (file.version_made_by as u16).max(version_needed); writer.write_u16_le(version_made_by)?; // version needed to extract writer.write_u16_le(version_needed)?;