We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aeaf88 commit ad4ccaeCopy full SHA for ad4ccae
_tour/compound-types.md
@@ -66,7 +66,7 @@ The question arises what the type of the parameter `obj` is. If it's `Cloneable`
66
This compound type is written like this in Scala: `Cloneable with Resetable`.
67
68
Here's the updated function:
69
-```scala mdoc
+```scala mdoc:fail
70
def cloneAndReset(obj: Cloneable with Resetable): Cloneable = {
71
//...
72
}
0 commit comments