Skip to content

Commit 2939c95

Browse files
authored
docs: correct epoll_ctl deprecation message (#2532)
1 parent 5fe8266 commit 2939c95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sys/epoll.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ pub fn epoll_create1(flags: EpollCreateFlags) -> Result<RawFd> {
205205
Errno::result(res)
206206
}
207207

208-
#[deprecated(since = "0.27.0", note = "Use Epoll::epoll_ctl() instead")]
208+
#[deprecated(
209+
since = "0.27.0",
210+
note = "Use corresponding Epoll methods instead"
211+
)]
209212
#[inline]
210213
pub fn epoll_ctl<'a, T>(
211214
epfd: RawFd,

0 commit comments

Comments
 (0)