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,