3 ms·
That was a restriction from before 1.46 stabilized control flow in const functions. Now that we have worked out the details around `if`, we can also stabilize `
by Rusky 6y ago
That was a restriction from before 1.46 stabilized control flow in const functions. Now that we have worked out the details around `if`, we can also stabilize `&&` and `||`.
(I'm a little surprised they weren't stabilized at the same time! Edit: they were! I just didn't look closely enough.)
- est31 6y ago> (I'm a little surprised they weren't stabilized at the same time!) They were stabilized at the same time, see the release announcement. https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html