cargo fmt --all

This commit is contained in:
Chris Hennick 2024-04-20 12:00:01 -07:00
parent 16b66841b3
commit c22afbf3c7
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -650,7 +650,7 @@ impl<R: Read + Seek> ZipArchive<R> {
pub fn by_name(&mut self, name: &str) -> ZipResult<ZipFile> {
self.by_name_with_optional_password(name, None)
}
/// Check for a file entry, but do not decrypt it or initialize metadata.
pub fn contains_file_named(&self, name: &str) -> bool {
self.shared.names_map.contains_key(name)