Skip to content

Commit

Permalink
Fix nightly clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Sep 2, 2022
1 parent 6b5ab01 commit ad4060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/metadata/src/reader/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl File {
pub fn new(path: &str) -> Result<Self> {
let path = std::path::Path::new(path);

let mut result = File { bytes: std::fs::read(&path)?, ..Default::default() };
let mut result = File { bytes: std::fs::read(path)?, ..Default::default() };

let dos = result.bytes.view_as::<IMAGE_DOS_HEADER>(0);

Expand Down

0 comments on commit ad4060d

Please sign in to comment.