Skip to content

Commit 7cb2ef1

Browse files
author
exoego
committed
Apply changes in scala#1474 to Japanese translation
1 parent b50485b commit 7cb2ef1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_ja/tour/generic-classes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class Stack[A] {
3535
手続き`def push`は型`A`のオブジェクトのみを受け取ります
3636
(注: `elements = x :: elements`は、`x`を現在の`elements`の先頭に追加した新しいリストを`elements`に割り当て直します)。
3737

38+
ここで `Nil` は空の `List` であり、 `null` と混同してはいけません。
39+
3840
## 使い方
3941

4042
ジェネリッククラスを使うには、角カッコの中に`A`の代わりに型を入れます。

0 commit comments

Comments
 (0)