Easy Rust 085: filter map plus ok, ok_or and ok_or_else

preview_player
Показать описание
Need to turn a Result into an Option? Just type ok. Need to do the reverse? Just use ok_or or ok_or_else.

Рекомендации по теме
Комментарии
Автор

Thank you. Your video series is fantastic and straight to the point. Thank you for demonstrating everything with clear examples. You have a great knowledge of Rust and a wonderful teaching style!

diarmaidmac
Автор

I've just found this series, this is gold :) YT algo does a bad job by not promoting it, I only stumbled on it by giving specific search for map and filter...

GrubyCh