From 86ec190ba69832e0aebd50e8af54616cd4e221e6 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes <git@mathijs.vd-nes.nl> Date: Sun, 1 Mar 2015 11:57:50 +0100 Subject: [PATCH] Fix one overlooked example --- examples/extract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/extract.rs b/examples/extract.rs index 7e32f987..38f8ca55 100644 --- a/examples/extract.rs +++ b/examples/extract.rs @@ -40,7 +40,7 @@ fn main() } } -fn write_file(reader: &mut zip::read::ZipFileReader, outpath: Path) +fn write_file(reader: &mut zip::read::ZipFile, outpath: Path) { let mut outfile = fs::File::create(&outpath).unwrap(); io::copy(reader, &mut outfile).unwrap();