Skip to content

Commit 6fcb0ae

Browse files
committed
Minor documentation touch-ups.
1 parent 5ff4293 commit 6fcb0ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ While pattern matching is very useful to match values against patterns,
517517
it mainly focuses on equality comparisons. Pattern guards are used to
518518
test whether the bound values satisfy some predicate.
519519
520-
### `when` Clause
520+
### `when`
521521
522522
A `when` clause takes a lazy expression, and invokes the handler only
523523
if the expression evaluates to `true`. A lazy expression is an expression
@@ -546,7 +546,7 @@ match(101, 202)(
546546
// prints: "LT"
547547
```
548548

549-
## `let` Statements
549+
## Pattern Statements
550550

551551
### `if_let`
552552

0 commit comments

Comments
 (0)