File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1925,7 +1925,7 @@ impl<R: Read> Drop for ZipFile<'_, R> {
19251925/// * `data_start`: set to 0
19261926/// * `external_attributes`: `unix_mode()`: will return None
19271927pub fn read_zipfile_from_stream < R : Read > ( reader : & mut R ) -> ZipResult < Option < ZipFile < ' _ , R > > > {
1928- let block = read_local_fileblock ( reader) ?;
1928+ let block = read_local_fileblock ( reader) ?;
19291929 let block = match block {
19301930 Some ( block) => block,
19311931 None => return Ok ( None ) ,
Original file line number Diff line number Diff line change @@ -1113,7 +1113,8 @@ impl FixedSizeBlock for crate::types::ZipDataDescriptor {
11131113 self . magic
11141114 }
11151115
1116- const WRONG_MAGIC_ERROR : ZipError = ZipError :: InvalidArchive ( Cow :: Borrowed ( "Invalid data descriptor" ) ) ;
1116+ const WRONG_MAGIC_ERROR : ZipError =
1117+ ZipError :: InvalidArchive ( Cow :: Borrowed ( "Invalid data descriptor" ) ) ;
11171118
11181119 to_and_from_le ! [
11191120 ( magic, spec:: Magic ) ,
You can’t perform that action at this time.
0 commit comments