Skip to content

Commit b366a83

Browse files
committed
Clarify indentation of | patterns in match arms
closes #115
1 parent aa58559 commit b366a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guide/expressions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ body on a new line:
589589
```
590590

591591
If required to break the pattern, put each clause of the pattern on its own
592-
line, breaking before the `|`. If there is an `if` clause, then you must use the
593-
above form:
592+
line with no additional indent, breaking before the `|`. If there is an `if`
593+
clause, then you must use the above form:
594594

595595
```rust
596596
a_very_long_pattern

0 commit comments

Comments
 (0)