Skip to content

Commit

Permalink
Fix clippy warning on latest nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller authored and blt committed Dec 28, 2021
1 parent ddd5735 commit 33b1a69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sys/aio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,7 @@ impl<'a> LioCbBuilder<'a> {
///
/// [`LioCb`]: struct.LioCb.html
/// [`AioCb::from_slice`]: struct.AioCb.html#method.from_slice
#[must_use]
pub fn emplace_slice(mut self, fd: RawFd, offs: off_t, buf: &'a [u8],
prio: libc::c_int, sigev_notify: SigevNotify,
opcode: LioOpcode) -> Self
Expand All @@ -1081,6 +1082,7 @@ impl<'a> LioCbBuilder<'a> {
///
/// [`LioCb`]: struct.LioCb.html
/// [`AioCb::from_mut_slice`]: struct.AioCb.html#method.from_mut_slice
#[must_use]
pub fn emplace_mut_slice(mut self, fd: RawFd, offs: off_t,
buf: &'a mut [u8], prio: libc::c_int,
sigev_notify: SigevNotify, opcode: LioOpcode)
Expand Down

0 comments on commit 33b1a69

Please sign in to comment.