Skip to content

Commit ad4ccae

Browse files
authored
Update compound-types.md
1 parent 9aeaf88 commit ad4ccae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/compound-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The question arises what the type of the parameter `obj` is. If it's `Cloneable`
6666
This compound type is written like this in Scala: `Cloneable with Resetable`.
6767

6868
Here's the updated function:
69-
```scala mdoc
69+
```scala mdoc:fail
7070
def cloneAndReset(obj: Cloneable with Resetable): Cloneable = {
7171
//...
7272
}

0 commit comments

Comments
 (0)