Skip to content

Commit

Permalink
fix: typo for single expr match arm rhs
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Nov 3, 2020
1 parent 83a50e9 commit 63e24b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ match foo {
```

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

```rust
Expand Down

0 comments on commit 63e24b4

Please sign in to comment.