diff --git a/_tour/lower-type-bounds.md b/_tour/lower-type-bounds.md index a1cdb9648f..4623db9bbd 100644 --- a/_tour/lower-type-bounds.md +++ b/_tour/lower-type-bounds.md @@ -61,7 +61,7 @@ case class EuropeanSwallow() extends Bird val africanSwallowList = ListNode[AfricanSwallow](AfricanSwallow(), Nil()) -val birdList: Node[Bird] = africanSwallowList +val birdList: ListNode[Bird] = africanSwallowList birdList.prepend(EuropeanSwallow()) ``` -The `Node[Bird]` can be assigned the `africanSwallowList` but then accept `EuropeanSwallow`s. +The `ListNode[Bird]` can be assigned the `africanSwallowList` but then accept `EuropeanSwallow`s.