Skip to content

Commit e91d306

Browse files
author
Stjepan Glavina
committed
Typo
1 parent 3f3b5d9 commit e91d306

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reactor.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -556,11 +556,11 @@ impl Source {
556556
/// clear the list and wake all of them at once.
557557
///
558558
/// This strategy prevents memory leaks by bounding the number of stored wakers. However, since all
559-
/// wakers get woken, tasks might simply re-register their interest again, thus creating an infinite
560-
/// loop and burning CPU cycles forever.
559+
/// wakers get woken, tasks might simply re-register their interest again, thus creating an
560+
/// infinite loop and burning CPU cycles forever.
561561
///
562562
/// However, we don't worry about such scenarios because it's very unlikely to have more than two
563-
/// actually concurrent tasks operating a single async I/O handle. If we happen to cross the
563+
/// actually concurrent tasks operating on a single async I/O handle. If we happen to cross the
564564
/// aforementioned threshold, we have bigger problems to worry about.
565565
fn limit_waker_list(wakers: &mut Vec<Waker>) {
566566
if wakers.len() > 50 {

0 commit comments

Comments
 (0)