mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
e6ea1ae6a3
Constify fold, reduce and last for iterator These functions only require the addition of `[const]` in appropriate places, so it feels like almost a trivial change. Most of the others require either consitifying additional traits, const closures, or both.