Skip to content

Commit

Permalink
fixed deleted space
Browse files Browse the repository at this point in the history
Fixed the deleted space from the initial pr.
  • Loading branch information
Plotnus authored Apr 9, 2019
1 parent 2ca8f70 commit a0a8516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch18-03-pattern-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ match x {
If `x` is 1, 2, 3, 4, or 5, the first arm will match. This syntax is more
convenient than using the `|` operator to express the same idea; instead of
`1...5`, we would have to specify `1 | 2 | 3 | 4 | 5` if we used `|`.
Specifyinga range is much shorter, especially if we want to match, say, any
Specifying a range is much shorter, especially if we want to match, say, any
number between 1 and 1,000!

Ranges are only allowed with numeric values or `char` values, because the
Expand Down

0 comments on commit a0a8516

Please sign in to comment.