We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1665629 + 3c874f6 commit c42fb4fCopy full SHA for c42fb4f
examples/02_02_future_trait/src/lib.rs
@@ -125,6 +125,7 @@ where
125
// the second!
126
Poll::Ready(()) => self.first.take(),
127
// We couldn't yet complete the first future.
128
+ // Notice that we disrupt the flow of the `pool` function with the `return` statement.
129
Poll::Pending => return Poll::Pending,
130
};
131
}
0 commit comments