Skip to content

Commit 4f4ad2d

Browse files
committed
Start translation of enums.md
1 parent 8e0d8f2 commit 4f4ad2d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

1.6/ja/book/enums.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
% Enums
1+
% 列挙型
2+
<!-- % Enums -->
23

3-
An `enum` in Rust is a type that represents data that could be one of
4-
several possible variants:
4+
<!-- An `enum` in Rust is a type that represents data that could be one of
5+
several possible variants: -->
6+
Rustの `enum` は、いくつかのヴァリアントの候補のうちのどれか一つであるようなデータを表す型です。
57

68
```rust
79
enum Message {

TranslationTable.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
| unsized type | サイズ不定型
116116
| variable | 変数
117117
| variable binding | 変数束縛
118+
| variant | ヴァリアント
118119
| vector | ベクタ
119120
| warning | ウォーニング
120121
| wildcard | ワイルドカード

0 commit comments

Comments
 (0)