From d4baa0c44d1fa27cf04250a7b8a8d26c9285ff6a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:42:59 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/formats/zip/parser.rs | 2 +- tests/zip.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/formats/zip/parser.rs b/src/formats/zip/parser.rs index d0ce5e9..00b1303 100644 --- a/src/formats/zip/parser.rs +++ b/src/formats/zip/parser.rs @@ -8,4 +8,4 @@ pub fn metadata(path: &str) -> ArchiveMetadata { lfh_matches: lfh_signature == 0x04034b50, // local file header 1 signature matches file_count: filecount as u128, } // NO! THIS IS NOT A FILE COUNT, THIS IS JUST A VALUE READING TEST -} \ No newline at end of file +} diff --git a/tests/zip.rs b/tests/zip.rs index a676013..1c71176 100644 --- a/tests/zip.rs +++ b/tests/zip.rs @@ -5,4 +5,4 @@ fn metadata_000() { let metadata = corelib::formats::zip::parser::metadata("tests/samples/zip/000.zip"); assert_eq!(metadata.lfh_matches, true); //assert_eq!(metadata.file_count, 1); -} \ No newline at end of file +}