Skip to content

Commit

Permalink
Make codebase cargo clippy clean
Browse files Browse the repository at this point in the history
  • Loading branch information
gkelly authored and eugkoira committed Apr 18, 2024
1 parent d0d224b commit c33c527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/mod.rs
Expand Up @@ -232,7 +232,7 @@ impl<T: Digest + Debug + Write + Clone> EifBuilder<T> {
}

fn kernel_size(&self) -> u64 {
self.kernel.metadata().unwrap().len() as u64
self.kernel.metadata().unwrap().len()
}

fn cmdline_offset(&self) -> u64 {
Expand All @@ -257,7 +257,7 @@ impl<T: Digest + Debug + Write + Clone> EifBuilder<T> {
}

fn ramdisk_size(&self, ramdisk: &File) -> u64 {
ramdisk.metadata().unwrap().len() as u64
ramdisk.metadata().unwrap().len()
}

fn signature_offset(&self) -> u64 {
Expand Down

0 comments on commit c33c527

Please sign in to comment.