From 177f77795c0c9771e8f0f9a3f66b93ff87bb6d15 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Mon, 4 Nov 2024 09:50:03 +0800 Subject: [PATCH] docs: correct epoll_ctl deprecation message --- src/sys/epoll.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sys/epoll.rs b/src/sys/epoll.rs index 317d713a5a..ed2babc762 100644 --- a/src/sys/epoll.rs +++ b/src/sys/epoll.rs @@ -205,7 +205,10 @@ pub fn epoll_create1(flags: EpollCreateFlags) -> Result { 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,