chore: Remove turbofish to fix a build error
This commit is contained in:
parent
b0a2cbbe52
commit
e9e5e01e3d
1 changed files with 1 additions and 1 deletions
|
@ -1759,7 +1759,7 @@ fn write_local_file_header<T: Write>(writer: &mut T, file: &ZipFileData) -> ZipR
|
|||
if let Some(field) = file.extra_field {
|
||||
extra_field_length += field.len();
|
||||
}
|
||||
match extra_field_length.try_into::<u16>() {
|
||||
match extra_field_length.try_into() {
|
||||
Ok(length_u16) => writer.write_u16_le(length_u16)?,
|
||||
Err(_) => return Err(ZipError::InvalidArchive("Extra field is too long")),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue