Skip to content

Commit

Permalink
fix typo in select_with_weak future (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne007 committed Jan 27, 2021
1 parent f418030 commit 5d6ba66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipc/src/select_with_weak.rs
Expand Up @@ -81,7 +81,7 @@ where
checked_strong = true;
} else {
this.use_strong = true;
match Pin::new(&mut this.strong).poll_next(cx) {
match Pin::new(&mut this.weak).poll_next(cx) {
Poll::Ready(Some(item)) => return Poll::Ready(Some(item)),
Poll::Ready(None) | Poll::Pending => (),
}
Expand Down

0 comments on commit 5d6ba66

Please sign in to comment.