Skip to content

Commit

Permalink
EventFd
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Luo committed Dec 13, 2024
1 parent 203fa64 commit 65f9405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monoio/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::os::fd::AsRawFd;
use std::os::unix::prelude::{AsRawFd, RawFd};
use crate::driver::shared_fd::SharedFd;

pub(crate) struct EventFd {
Expand All @@ -15,7 +15,7 @@ impl EventFd {
use std::os::unix::io::FromRawFd;
std::fs::File::from_raw_fd(fd)
};
Ok(EventWaker {
Ok(EventFd {
raw: fd,
_file: file,
})
Expand Down

0 comments on commit 65f9405

Please sign in to comment.