Skip to content

Commit b698914

Browse files
committed
Merge pull request #91 from kw-udon/issue90_scoped
Fix translation of "scoped"
2 parents 97bee3e + d369b80 commit b698914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1.6/ja/book/enums.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enum is the sum of the sets of possible values for each variant. -->
3333
<!-- We use the `::` syntax to use the name of each variant: they’re scoped by the name
3434
of the `enum` itself. This allows both of these to work: -->
3535
各ヴァリアントの名前を使うためには、 `::` 構文を使います。
36-
`enum` 自体の名前によってスコープするのです
36+
すなわち、ヴァリアントの名前は `enum` 自体の名前によってスコープ化されています
3737
これにより、以下は動きます。
3838

3939
```rust
@@ -52,7 +52,7 @@ let y: BoardGameTurn = BoardGameTurn::Move { squares: 1 };
5252

5353
<!-- Both variants are named `Move`, but since they’re scoped to the name of
5454
the enum, they can both be used without conflict. -->
55-
どちらのヴァリアントも `Move` という名前ですが、列挙型の名前でスコープされているため、衝突することなく使うことができます。
55+
どちらのヴァリアントも `Move` という名前ですが、列挙型の名前でスコープ化されているため、衝突することなく使うことができます。
5656

5757
<!-- A value of an enum type contains information about which variant it is,
5858
in addition to any data associated with that variant. This is sometimes

0 commit comments

Comments
 (0)