libcore: Add iter::from_generator which is like iter::from_fn, but for coroutines instead of functions

This commit is contained in:
Vadim Petrochenkov
2022-04-21 23:47:39 +03:00
parent 490324f7b2
commit 5bf23f64cc
9 changed files with 67 additions and 34 deletions

View File

@@ -3,6 +3,7 @@
#![feature(drain_filter)]
#![feature(generators)]
#![feature(generic_associated_types)]
#![feature(iter_from_generator)]
#![feature(let_chains)]
#![feature(let_else)]
#![feature(nll)]