Fix erroneous comment

This commit is contained in:
Nick Mathewson 2022-06-09 14:58:30 +00:00 committed by Ian Jackson
parent 5815e14b94
commit 1adc65ab53
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ impl<R: SleepProvider> Timer<R> {
let mut self_ = self.project();
let timeout = self_.parameters.select_timeout();
*self_.selected_timeout = Some(timeout);
// This is no longer invalide; recalculate it on next poll
// This is no longer valid; recalculate it on next poll
*self_.trigger_at = None;
// Timeout might be earlier, so we will need a new waker too.
// (Technically this is not possible in a bad way right now, since any stale waker