Skip to content

Commit

Permalink
style: revert nix-rust#2344 as the issue has been fixed (nix-rust#2365)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Apr 13, 2024
1 parent 2bc9717 commit c179d7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/sys/statfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ type fs_type_t = libc::c_int;
type fs_type_t = libc::__fsword_t;

/// Describes the file system type as known by the operating system.
// false positive, see: https://github.com/rust-lang/rust-clippy/issues/12537
#[allow(clippy::duplicated_attributes)]
#[cfg(any(
target_os = "freebsd",
target_os = "android",
Expand Down
2 changes: 0 additions & 2 deletions src/sys/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const fn zero_init_timespec() -> timespec {
unsafe { std::mem::transmute([0u8; std::mem::size_of::<timespec>()]) }
}

// false positive, see: https://github.com/rust-lang/rust-clippy/issues/12537
#[allow(clippy::duplicated_attributes)]
#[cfg(any(
all(feature = "time", any(target_os = "android", target_os = "linux")),
all(
Expand Down

0 comments on commit c179d7b

Please sign in to comment.