From 95c8b07bc2993a76821c1ff8ccc4cb06015ab185 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Thu, 9 May 2024 18:25:23 -0700 Subject: [PATCH] chore: Update misleading comment --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write.rs b/src/write.rs index 6a57cc19..ebc2486f 100644 --- a/src/write.rs +++ b/src/write.rs @@ -796,7 +796,7 @@ impl ZipWriter { crc32: raw_values.crc32, compressed_size: raw_values.compressed_size, uncompressed_size: raw_values.uncompressed_size, - file_name: name.into(), // Never used for saving + file_name: name.into(), // Never used for saving, but used as map key in insert_file_data() file_name_raw: name.into().bytes().collect(), extra_field, central_extra_field: options.extended_options.central_extra_data().cloned(),