Fix another formatting issue

This commit is contained in:
Chris Hennick 2023-04-23 15:15:45 -07:00
parent 3b3b63cef5
commit 911d67a795
No known key found for this signature in database
GPG key ID: 25653935CC8B6C74

View file

@ -87,10 +87,7 @@ fn append() {
}
// Write a test zip archive to buffer.
fn write_test_archive(
file: &mut Cursor<Vec<u8>>,
method: CompressionMethod,
) -> ZipResult<()> {
fn write_test_archive(file: &mut Cursor<Vec<u8>>, method: CompressionMethod) -> ZipResult<()> {
let mut zip = ZipWriter::new(file);
zip.add_directory("test/", Default::default())?;