about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-17 23:01:00 +0100
committerGitHub <noreply@github.com>2022-02-17 23:01:00 +0100
commita4be35e3217e85e35693837cac5bdc8285add15a (patch)
tree608b3473c0e899a5077912dc447b3678b94b68e5 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent637d8b89e8b433f5eb93f9d7ea8e8599a15a6451 (diff)
parent47d5196a00e25ef5683fd58f472ce44c82f8ae06 (diff)
downloadrust-a4be35e3217e85e35693837cac5bdc8285add15a.tar.gz
rust-a4be35e3217e85e35693837cac5bdc8285add15a.zip
Rollup merge of #94041 - a-lafrance:try-collect, r=scottmcm
Add a `try_collect()` helper method to `Iterator`

Implement `Iterator::try_collect()` as a helper around `Iterator::collect()` as discussed [here](https://internals.rust-lang.org/t/idea-fallible-iterator-mapping-with-try-map/15715/5?u=a.lafrance).

First time contributor so definitely open to any feedback about my implementation! Specifically wondering if I should open a tracking issue for the unstable feature I introduced.

As the main participant in the internals discussion: r? `@scottmcm`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions