about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-27 01:01:15 +0000
committerbors <bors@rust-lang.org>2022-05-27 01:01:15 +0000
commit4f68efad64f6a54703521d465817b6103813694d (patch)
tree5bb86ff9090628a5c214ac057b94b8d951de138b /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentb2c9872c6c2c60c905e16bce0801934b86d15f95 (diff)
parent5bf23f64cce3877434da31e74e376186986903a2 (diff)
downloadrust-4f68efad64f6a54703521d465817b6103813694d.tar.gz
rust-4f68efad64f6a54703521d465817b6103813694d.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions