We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14b09c commit e550ab4Copy full SHA for e550ab4
docs/_docs/internals/specialized-traits.md
@@ -16,7 +16,7 @@ As a first example, consider a `Vec` trait for vectors over a numeric type.
16
```scala
17
import scala.math.Numeric
18
19
-inline trait Vec[T: {Specialized, Numeric}](elems: Array[T]):
+inline trait Vec[T: {Specialized, Numeric as num}](elems: Array[T]):
20
21
def length = elems.length
22
0 commit comments