rust/library/core
Scott McMurray 7ef74bc8b9 Let try_collect take advantage of try_fold overrides
Without this change it's going through `&mut impl Iterator`, which handles `?Sized` and thus currently can't forward generics.

Here's the test added, to see that it fails before this PR (once a new enough nightly is out): https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=462f2896f2fed2c238ee63ca1a7e7c56
2022-03-10 00:16:06 -08:00
..
benches Stop manually SIMDing in swap_nonoverlapping 2022-02-21 00:54:02 -08:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Let try_collect take advantage of try_fold overrides 2022-03-10 00:16:06 -08:00
tests Let try_collect take advantage of try_fold overrides 2022-03-10 00:16:06 -08:00
Cargo.toml Build libcore as 2021 in a few more places 2022-02-06 15:41:01 -08:00