You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 06:10:26 +02:00
committed by
GitHub
parent
b8b274165c
commit
0022898ada
@ -1,6 +1,6 @@
|
||||
# Pattern Matching
|
||||
|
||||
The `match` keyword let you match a value against one or more _patterns_. The
|
||||
The `match` keyword lets you match a value against one or more _patterns_. The
|
||||
comparisons are done from top to bottom and the first match wins.
|
||||
|
||||
The patterns can be simple values, similarly to `switch` in C and C++:
|
||||
|
Reference in New Issue
Block a user