Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 245 Bytes

pat-exhaustive-checking.md

File metadata and controls

7 lines (5 loc) · 245 Bytes

Pattern and Exhaustiveness Checking

In Rust, pattern matching and bindings have a few very helpful properties. The compiler will check that bindings are irrefutable when made and that match arms are exhaustive.

TODO: write this chapter.