October 2018
Beginner
180 pages
4h 48m
English
We already saw Rust's if expressions, but those make decisions based on data values. Rust is a very type-conscious language, and so it's very important to be able to make decisions based on data types as well. Rust's match and if let expressions let us do that, comparing complex data types and allowing us to extract data values for further processing.
In this chapter, we're going to do the following:
Read now
Unlock full access