diff --git a/_tour/mixin-class-composition.md b/_tour/mixin-class-composition.md index 2c45927f6d..f1d40bcfda 100644 --- a/_tour/mixin-class-composition.md +++ b/_tour/mixin-class-composition.md @@ -78,6 +78,6 @@ object StringIteratorTest extends App { richStringIter foreach println } ``` -The new class `Iter` has `StringIterator` as a superclass and `RichIterator` as a mixin. +The new class `RichStringIter` has `StringIterator` as a superclass and `RichIterator` as a mixin. With single inheritance we would not be able to achieve this level of flexibility.