mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
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.