Skip to content

Commit 2dcac46

Browse files
committed
patterns: make sure の訳を修正
1 parent 5e81819 commit 2dcac46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

1.6/ja/book/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ match x {
327327

328328
<!-- If you use `@` with `|`, you need to make sure the name is bound in each part
329329
of the pattern: -->
330-
`@``|` と組み合わせて使う場合は、それぞれのパターンで同じ名前が束縛されるか確認する必要があります
330+
`@``|` と組み合わせて使う場合は、それぞれのパターンで同じ名前が束縛されるようにする必要があります
331331

332332
```rust
333333
let x = 5;

1.9/ja/book/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ match x {
375375

376376
<!-- If you use `@` with `|`, you need to make sure the name is bound in each part -->
377377
<!-- of the pattern: -->
378-
`@``|` と組み合わせて使う場合は、それぞれのパターンで同じ名前が束縛されるか確認する必要があります
378+
`@``|` と組み合わせて使う場合は、それぞれのパターンで同じ名前が束縛されるようにする必要があります
379379

380380
```rust
381381
let x = 5;

0 commit comments

Comments
 (0)