Перейти к содержимому

Easy Rust 192: let else

mithradates

0:00 / 0:00

Easy Rust 192: let else

900 просмотров · 3 г. назад
mithradates
11,3 тыс. подписчиков
900 просмотров · 3 г. назад
Let else was stabilized five weeks ago in Rust 1.65 - read about it in this blog post: https://blog.rust-lang.org/2022/11/03... For more on diverging patterns (the ! that the compiler is expecting when you use it), see the never type here: https://doc.rust-lang.org/std/primiti... Want to buy me a coffee? https://www.buymeacoffee.com/mithridates