|
|
|
|
|
by Rusky
2123 days 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.) |
|
They were stabilized at the same time, see the release announcement.
https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html