The effect of merge_with()
can currently be done using iterator operations:
let greater = [a, b].into_iter().flatten().reduce(i32::max);
Of course, it is not as concise as a dedicated function, but it is at least straightforward and can be done without a complex match
.