Skip to content

Commit

Permalink
Apply rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Aug 4, 2019
1 parent 1b80cbd commit ec3bd87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gzip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ impl Header {
));
}
let flags = buf[3];
this.modification_time =
u32::from_le_bytes([buf[4], buf[5], buf[6], buf[7]]);
this.modification_time = u32::from_le_bytes([buf[4], buf[5], buf[6], buf[7]]);
this.compression_level = CompressionLevel::from_u8(buf[8]);
this.os = Os::from_u8(buf[9]);
if flags & F_EXTRA != 0 {
Expand Down

0 comments on commit ec3bd87

Please sign in to comment.