Skip to content

Commit

Permalink
Merge pull request #214 from Denys-Bushulyak/patch-2
Browse files Browse the repository at this point in the history
Update lib.rs
  • Loading branch information
nrc authored Oct 5, 2024
2 parents 1665629 + 3c874f6 commit c42fb4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/02_02_future_trait/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ where
// the second!
Poll::Ready(()) => self.first.take(),
// We couldn't yet complete the first future.
// Notice that we disrupt the flow of the `pool` function with the `return` statement.
Poll::Pending => return Poll::Pending,
};
}
Expand Down

0 comments on commit c42fb4f

Please sign in to comment.