Skip to content

Commit abb28a0

Browse files
flomebulbishabosha
andauthored
Update _tour/mixin-class-composition.md
Co-authored-by: Jamie Thompson <[email protected]>
1 parent ed79c4e commit abb28a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/mixin-class-composition.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ This trait implements `foreach` by continually calling the provided function `f:
133133
{% endtab %}
134134

135135
{% tab 'Scala 3' for=mixin-extended-abstract-iterator %}
136-
```scala mdoc
136+
```scala
137137
trait RichIterator extends AbsIterator:
138138
def foreach(f: T => Unit): Unit = while hasNext do f(next())
139139
}

0 commit comments

Comments
 (0)