Skip to content

Commit 8fabbe4

Browse files
committed
More minor documentation updates.
1 parent 6fcb0ae commit 8fabbe4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,9 @@ test whether the bound values satisfy some predicate.
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
524-
formed with identifier patterns. For example, given an identifier `x`,
525-
the expression `x % 5 == 0` is a lazy expression where the `x` is filled
526-
in by the value that the identifier `x` matches.
524+
formed with identifier patterns. For example, given an identifier pattern
525+
`x`, the expression `x % 5 == 0` is a lazy expression where the `x` is
526+
filled in by the value that the identifier `x` matches.
527527
528528
#### Requirements
529529
@@ -532,7 +532,7 @@ convertible to `bool`.
532532
533533
#### Syntax
534534
535-
- `pattern(<pattern>...).when(<lazy_expr>)`
535+
- `.when(<lazy_expr>)`
536536
537537
#### Examples
538538

0 commit comments

Comments
 (0)