On Fri Oct 16, 2026 at 10:53 AM JST, Eliot Courtney wrote: > Add `Vec::try_push_init` for fallible initializers (`impl Init<T, E>`) > and a new sum error type `TryPushInitError<I, E>` that it returns. If > allocation fails, it hands back the original initializer. A `From` impl > for `Error` lets callers decay the `TryPushInitError<I, E>` to a regular > Error if they want. > > Add `Vec::push_init` which is the init-infallible version of > `try_push_init`. > > Signed-off-by: Eliot Courtney <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
