From db87265cdff54a996f8c4d40c33f8152804bfa78 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Mon, 2 Mar 2020 10:11:45 +0100 Subject: [PATCH] Remove outdated comment from Poll::poll Talking about deprecated and removed APIs. --- src/poll.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/poll.rs b/src/poll.rs index efd5555f1..e4cd804af 100644 --- a/src/poll.rs +++ b/src/poll.rs @@ -238,13 +238,6 @@ impl Poll { /// granularity (usually 1ms), and kernel scheduling delays mean that /// the blocking interval may be overrun by a small amount. /// - /// `poll` returns the number of readiness events that have been pushed into - /// `events` or `Err` when an error has been encountered with the system - /// selector. The value returned is deprecated and will be removed in 0.7.0. - /// Accessing the events by index is also deprecated. Events can be - /// inserted by other events triggering, thus making sequential access - /// problematic. Use the iterator API instead. See [`iter`]. - /// /// See the [struct] level documentation for a higher level discussion of /// polling. ///