Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Question operator | Learn Rust part 20

2.4K views on YouTube

Use question operator to replace pattern match on Result in Rust.

0:00 Intro
2:52 Use with multiple function calls
6:11 Limitation on return type

Code https://github.com/t4sk/hello-rust
Course https://www.smartcontract.engineer/

Follow
https://odysee.com/@SmartContractProgrammer:8

https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com