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.
1 parent a26a089 commit a501599Copy full SHA for a501599
core/src/async_iter/async_iter.rs
@@ -47,6 +47,7 @@ pub trait AsyncIterator {
47
/// Rust's usual rules apply: calls must never cause undefined behavior
48
/// (memory corruption, incorrect use of `unsafe` functions, or the like),
49
/// regardless of the async iterator's state.
50
+ #[cfg_attr(not(bootstrap), lang = "async_iterator_poll_next")]
51
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>;
52
53
/// Returns the bounds on the remaining length of the async iterator.
0 commit comments