rust/library/core/tests/iter/traits
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
..
accum.rs library/core/test/iter add newlines between tests 2021-01-22 16:58:21 -05:00
double_ended.rs library/core/tests/iter documentation and cleanup 2021-01-22 17:57:08 -05:00
iterator.rs Let try_collect take advantage of try_fold overrides 2022-03-10 00:16:06 -08:00
mod.rs library/core/tests/iter documentation and cleanup 2021-01-22 17:57:08 -05:00
step.rs library/core/tests/iter rearrange & add back missed doc comments 2021-01-22 17:57:07 -05:00