From 371e0f1df702db243e85bfe423ec0544ae504dd0 Mon Sep 17 00:00:00 2001 From: TJ Borromeo Date: Mon, 12 Jun 2017 15:37:06 -0400 Subject: [PATCH] Create 2017-02-13-mixin-class-composition.md I am suggesting this change as this seems to be what you all mean, though I could be wrong, as I'm trying to follow the written logic which seems circular. . . --- tutorials/tour/_posts/2017-02-13-mixin-class-composition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/tour/_posts/2017-02-13-mixin-class-composition.md b/tutorials/tour/_posts/2017-02-13-mixin-class-composition.md index 38dccd4177..5e035fc177 100644 --- a/tutorials/tour/_posts/2017-02-13-mixin-class-composition.md +++ b/tutorials/tour/_posts/2017-02-13-mixin-class-composition.md @@ -76,6 +76,6 @@ object StringIteratorTest extends App { iter foreach println } ``` -The new class `RichStringIter` has `StringIterator` as a superclass and `RichIterator` as a mixin. +The new class `Iter` has `StringIterator` as a superclass and `RichIterator` as a mixin. With single inheritance we would not be able to achieve this level of flexibility.