Skip to content

Commit

Permalink
Woops, version fields are the other way around
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Feb 5, 2024
1 parent a09fc7d commit 72a9afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rc-zip/src/parse/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ impl Version {
/// Parse a version from a byte slice
pub fn parser(i: &mut Partial<&'_ [u8]>) -> PResult<Self> {
seq! {Self {
host_system: le_u8.map(HostSystem::from),
version: le_u8,
host_system: le_u8.map(HostSystem::from),
}}
.parse_next(i)
}
Expand Down

0 comments on commit 72a9afc

Please sign in to comment.