Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Jul 22, 2023
1 parent 21239ab commit 00870d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl GPTHeader {
where
R: Read + Seek,
{
let gpt: GPTHeader = deserialize_from(&mut reader)?;
let gpt: GPTHeader = deserialize_from(reader)?;

if &gpt.signature != b"EFI PART" {
return Err(Error::InvalidSignature);
Expand Down Expand Up @@ -531,7 +531,7 @@ impl GPTPartitionEntry {
where
R: Read,
{
deserialize_from(&mut reader)
deserialize_from(reader)
}

/// Returns `true` if the partition entry is not used (type GUID == `[0; 16]`)
Expand Down

0 comments on commit 00870d2

Please sign in to comment.