File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
565565fn limit_waker_list ( wakers : & mut Vec < Waker > ) {
566566 if wakers. len ( ) > 50 {
You can’t perform that action at this time.
0 commit comments