Fix another formatting issue
This commit is contained in:
parent
3b3b63cef5
commit
911d67a795
1 changed files with 1 additions and 4 deletions
|
@ -87,10 +87,7 @@ fn append() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write a test zip archive to buffer.
|
// Write a test zip archive to buffer.
|
||||||
fn write_test_archive(
|
fn write_test_archive(file: &mut Cursor<Vec<u8>>, method: CompressionMethod) -> ZipResult<()> {
|
||||||
file: &mut Cursor<Vec<u8>>,
|
|
||||||
method: CompressionMethod,
|
|
||||||
) -> ZipResult<()> {
|
|
||||||
let mut zip = ZipWriter::new(file);
|
let mut zip = ZipWriter::new(file);
|
||||||
|
|
||||||
zip.add_directory("test/", Default::default())?;
|
zip.add_directory("test/", Default::default())?;
|
||||||
|
|
Loading…
Add table
Reference in a new issue