Skip to content

Commit 730d742

Browse files
authored
Merge pull request #132 from pf35301/fix-typo
[fix] ch18-01 typo
2 parents 5a07f1c + a266d28 commit 730d742

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ch18-01-all-the-places-for-patterns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ <h3><a class="header" href="#関数の引数" id="関数の引数">関数の引
559559
pattern `&(x, y)`, so `x` is the value `3` and `y` is the value `5`.
560560
-->
561561
<p>このコードは<code>Current location: (3, 5)</code>と出力します。値<code>&amp;(3, 5)</code>はパターン<code>&amp;(x, y)</code>と合致するので、
562-
<code>x</code>は値3<code>y</code>は値<code>5</code>になります。</p>
562+
<code>x</code>は値<code>3</code><code>y</code>は値<code>5</code>になります。</p>
563563
<!--
564564
We can also use patterns in closure parameter lists in the same way as in
565565
function parameter lists, because closures are similar to functions, as

src/ch18-01-all-the-places-for-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ pattern `&(x, y)`, so `x` is the value `3` and `y` is the value `5`.
495495
-->
496496

497497
このコードは`Current location: (3, 5)`と出力します。値`&(3, 5)`はパターン`&(x, y)`と合致するので、
498-
`x`は値3`y`は値`5`になります。
498+
`x`は値`3``y`は値`5`になります。
499499

500500
<!--
501501
We can also use patterns in closure parameter lists in the same way as in

0 commit comments

Comments
 (0)