Skip to content

Glossary: Rust Basics

Pattern

Also written: patterns

The shape a `match` arm tests for, such as `Some(n)`, `Grind::Espresso`, a number, a range like `2..=9` or `10 | 20`.

Where the book teaches it

Related terms

matchArm