Skip to content

Commit 63e24b4

Browse files
fix: typo for single expr match arm rhs
1 parent 83a50e9 commit 63e24b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ match foo {
661661
```
662662

663663
If the body is a single expression with no line comments and not a control flow
664-
expression, then it may be started on the same line as the right-hand side. If
664+
expression, then it may be started on the same line as the left-hand side. If
665665
not, then it must be in a block. Example,
666666

667667
```rust

0 commit comments

Comments
 (0)