Skip to content

Commit

Permalink
Fix Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed Jul 16, 2023
1 parent 77f5ef7 commit 0639d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl fmt::Debug for Interest {
one = true
}
}
#[cfg(any(target_os = "freebsd"))]
#[cfg(target_os = "freebsd")]
{
if self.is_lio() {
if one {
Expand Down
2 changes: 1 addition & 1 deletion tests/interest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn fmt_debug() {
{
assert_eq!(format!("{:?}", Interest::AIO), "AIO");
}
#[cfg(any(target_os = "freebsd"))]
#[cfg(target_os = "freebsd")]
{
assert_eq!(format!("{:?}", Interest::LIO), "LIO");
}
Expand Down

0 comments on commit 0639d6a

Please sign in to comment.