Announcing Rust 1.94.0

71 points by theelx


austreelis

Array windows are great. I don't really mind the potential added bound check of the slice-version, but in almost all instances I was just doing:

let [a, b, c] = window else {
    unreachable!();
};
funky_stuff(a, b, c)

anyway, which does add a bunch of noise in simple closures.

mond

Euler–Mascheroni constant

?. Why? Has anyone here ever used this one in their code? That feels very weird to me, like the opposite of a lean standard library