Closed Captioning Closed captioning available on our YouTube channel

How to use the Option type for safe nullable values

InfoWorld | Sep 19, 2022

Many languages offer "nullable" variables, which can be set to some value, or nothing at all. Rust's Option type provides a safe and powerful way to encode a given variable as nullable. Learn the basics of using Option and its .unwrap methods here. (A future video will explore the use of Option with the match statement.)

Copyright © 2022 IDG Communications, Inc.

Similar
Popular
Featured videos from IDG.tv