mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
f08d5c01e6
core: optimize `RepeatN` ...by adding an optimized implementation of `try_fold` and `fold` as well as replacing some unnecessary `mem::replace` calls with `MaybeUninit` helper methods.