about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-03-23 03:11:13 +0000
committerbors <bors@rust-lang.org>2025-03-23 03:11:13 +0000
commitf08d5c01e69436891ff1c181385d0e078a8482ec (patch)
tree7c3bb45fc9a3d034dd34a90542c207fa9130ced5 /compiler/rustc_parse_format/src/lib.rs
parent756bff97ea7f8f1a99f3db6a212dd9155a9c238e (diff)
parent51d51c866601524ec36b019762053371d309de6c (diff)
downloadrust-f08d5c01e69436891ff1c181385d0e078a8482ec.tar.gz
rust-f08d5c01e69436891ff1c181385d0e078a8482ec.zip
Auto merge of #138833 - joboet:optimize-repeat-n, r=thomcc
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.
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
0 files changed, 0 insertions, 0 deletions