1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-03 01:56:12 +02:00

Update pattern-matching.md (#1374)

Typo
This commit is contained in:
justanotheranonymoususer 2023-10-18 09:40:13 +03:00 committed by GitHub
parent b8b274165c
commit 0022898ada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++: