Skip to content

Commit

Permalink
style: cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed May 6, 2024
1 parent b3f9170 commit a8ec016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
//!
//!
#![warn(missing_docs)]
#![allow(unexpected_cfgs)] /// Needed for cfg(fuzzing) on nightly as of 2024-05-06
#![allow(unexpected_cfgs)] // Needed for cfg(fuzzing) on nightly as of 2024-05-06
pub use crate::compression::{CompressionMethod, SUPPORTED_COMPRESSION_METHODS};
pub use crate::read::ZipArchive;
pub use crate::types::DateTime;
Expand Down
2 changes: 1 addition & 1 deletion src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ impl<R> ZipArchive<R> {
})
}

/// Total size of the files in the archive, if it can be known. Doesn't include directories or
/// Total size of the files in the archive, if it can be known. Doesn't include directories or
/// metadata.
pub fn decompressed_size(&self) -> Option<u128> {
let mut total = 0u128;
Expand Down

0 comments on commit a8ec016

Please sign in to comment.