diff options
Diffstat (limited to 'src/raw/mod.rs')
-rw-r--r-- | src/raw/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raw/mod.rs b/src/raw/mod.rs index 88b58ac..77a8571 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -21,7 +21,7 @@ use std::ffi::CStr; use std::io::{BufReader, Read, Seek}; /// Parse a complete log that was compressed as a zip file. -pub fn parse_zip<T: Read + Seek>(input: &mut T) -> ParseResult<Evtc> { +pub fn parse_zip<R: Read + Seek>(input: R) -> ParseResult<Evtc> { let mut archive = ZipArchive::new(input)?; let mut file = BufReader::new(archive.by_index(0)?); parse_file(&mut file) |