1
Fork 0
rust/compiler/rustc_metadata
bors 4f68efad64 Auto merge of #96298 - petrochenkov:fromgen, r=estebank
libcore: Add `iter::from_generator` which is like `iter::from_fn`, but for coroutines instead of functions

An equally useful little helper.

I didn't follow any of the async-wg work, so I don't know why something like this wasn't added before.
2022-05-27 01:01:15 +00:00
..
src Auto merge of #96298 - petrochenkov:fromgen, r=estebank 2022-05-27 01:01:15 +00:00
Cargo.toml replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00