WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 5315789

Browse files
enarvecarols10cents
authored andcommitted
Fix minor style inconsistency
1 parent 2f8cf1d commit 5315789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch19-03-pattern-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ In this example, the value `p` matches the second arm by virtue of `x`
188188
containing a `0`, so this code will print `On the y axis at 7`.
189189

190190
Remember that a `match` expression stops checking arms once it has found the
191-
first matching pattern, so even though `Point { x: 0, y: 0}` is on the `x` axis
191+
first matching pattern, so even though `Point { x: 0, y: 0 }` is on the `x` axis
192192
and the `y` axis, this code would only print `On the x axis at 0`.
193193

194194
<!-- Old headings. Do not remove or links may break. -->

0 commit comments

Comments
 (0)