Skip to content

Commit 6a76e0c

Browse files
committed
Use IntoAsyncIterator in for await loop desugaring
1 parent 5659b65 commit 6a76e0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/async_iter/async_iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ pub trait IntoAsyncIterator {
145145
type IntoAsyncIter: AsyncIterator<Item = Self::Item>;
146146

147147
/// Converts `self` into an async iterator
148+
#[cfg_attr(not(bootstrap), lang = "into_async_iter_into_iter")]
148149
fn into_async_iter(self) -> Self::IntoAsyncIter;
149150
}
150151

0 commit comments

Comments
 (0)