Skip to content

Commit 5d6ba66

Browse files
authored
fix typo in select_with_weak future (#610)
1 parent f418030 commit 5d6ba66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipc/src/select_with_weak.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ where
8181
checked_strong = true;
8282
} else {
8383
this.use_strong = true;
84-
match Pin::new(&mut this.strong).poll_next(cx) {
84+
match Pin::new(&mut this.weak).poll_next(cx) {
8585
Poll::Ready(Some(item)) => return Poll::Ready(Some(item)),
8686
Poll::Ready(None) | Poll::Pending => (),
8787
}

0 commit comments

Comments
 (0)