style: cargo fmt --all

This commit is contained in:
Chris Hennick 2024-05-15 17:09:12 -07:00
parent 3e06f6433a
commit fbf111ef97
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -706,9 +706,7 @@ impl<R: Read + Seek> ZipArchive<R> {
#[cfg(windows)]
{
let Ok(target) = String::from_utf8(target) else {
return Err(ZipError::InvalidArchive(
"Invalid UTF-8 as symlink target",
));
return Err(ZipError::InvalidArchive("Invalid UTF-8 as symlink target"));
};
let target = target.into_boxed_str();
let target_is_dir_from_archive =