Skip to content

Commit c965ce8

Browse files
authored
Fix class name example
The class name from the text doesn't match the class name in the last example.
1 parent 26270b9 commit c965ce8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/tour/_posts/2017-02-13-mixin-class-composition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ We would like to combine the functionality of `StringIterator` and `RichIterator
7171

7272
```tut
7373
object StringIteratorTest extends App {
74-
class Iter extends StringIterator(args(0)) with RichIterator
75-
val iter = new Iter
74+
class RichStringIter extends StringIterator(args(0)) with RichIterator
75+
val iter = new RichStringIter
7676
iter foreach println
7777
}
7878
```

0 commit comments

Comments
 (0)