Skip to content

Commit cc8060a

Browse files
authored
Implement AsFd for all entry sizes (#254)
1 parent dd7cce6 commit cc8060a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ impl<S: squeue::EntryMarker, C: cqueue::EntryMarker> AsRawFd for IoUring<S, C> {
612612
}
613613

614614
#[cfg(feature = "io_safety")]
615-
impl AsFd for IoUring {
615+
impl<S: squeue::EntryMarker, C: cqueue::EntryMarker> AsFd for IoUring<S, C> {
616616
fn as_fd(&self) -> BorrowedFd<'_> {
617617
self.fd.as_fd()
618618
}

0 commit comments

Comments
 (0)