Skip to content

Commit

Permalink
remove unused "cargo-clippy" feature
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmeier committed May 5, 2024
1 parent a7c4617 commit 8b3a303
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mbr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ pub fn read_disk_signature<D: DiskDevice>(device: &mut D) -> io::Result<[u8; 4]>
}

/// Write the 4 bytes of MBR disk signature.
#[cfg_attr(feature = "cargo-clippy", allow(clippy::trivially_copy_pass_by_ref))]
pub fn write_disk_signature<D: DiskDevice>(device: &mut D, sig: &[u8; 4]) -> io::Result<()> {
let dsig_offset = 440;
let cur = device.stream_position()?;
Expand Down

0 comments on commit 8b3a303

Please sign in to comment.