Skip to content

Commit

Permalink
docs: correct epoll_ctl deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Nov 4, 2024
1 parent 5fe8266 commit 177f777
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sys/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ pub fn epoll_create1(flags: EpollCreateFlags) -> Result<RawFd> {
Errno::result(res)
}

#[deprecated(since = "0.27.0", note = "Use Epoll::epoll_ctl() instead")]
#[deprecated(
since = "0.27.0",
note = "Use corresponding Epoll methods instead"
)]
#[inline]
pub fn epoll_ctl<'a, T>(
epfd: RawFd,
Expand Down

0 comments on commit 177f777

Please sign in to comment.