Skip to content

Commit

Permalink
Silence Clippy lint
Browse files Browse the repository at this point in the history
We cast the fd (i32) to u32, which is fine.
  • Loading branch information
Thomasdezeeuw committed Mar 30, 2024
1 parent cb45ac8 commit 4476016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ clippy:
--allow clippy::use-self \
\
--allow clippy::cast-possible-truncation \
--allow clippy::cast-possible-wrap \

doc:
cargo doc
Expand Down
1 change: 1 addition & 0 deletions src/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ impl Submission {
};
}

#[allow(clippy::cast_possible_wrap)]
pub(crate) unsafe fn waitid(
&mut self,
id: libc::id_t,
Expand Down

0 comments on commit 4476016

Please sign in to comment.