From 72a9afcabd638e295b0aeac4d8554b8a59ec23e9 Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Mon, 5 Feb 2024 20:35:14 +0100 Subject: [PATCH] Woops, version fields are the other way around --- rc-zip/src/parse/version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc-zip/src/parse/version.rs b/rc-zip/src/parse/version.rs index 15338bd..4a46204 100644 --- a/rc-zip/src/parse/version.rs +++ b/rc-zip/src/parse/version.rs @@ -29,8 +29,8 @@ impl Version { /// Parse a version from a byte slice pub fn parser(i: &mut Partial<&'_ [u8]>) -> PResult { seq! {Self { - host_system: le_u8.map(HostSystem::from), version: le_u8, + host_system: le_u8.map(HostSystem::from), }} .parse_next(i) }