Skip to content

Commit e550ab4

Browse files
oderskybishabosha
andauthored
Update docs/_docs/internals/specialized-traits.md
Co-authored-by: Jamie Thompson <[email protected]>
1 parent c14b09c commit e550ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/internals/specialized-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ As a first example, consider a `Vec` trait for vectors over a numeric type.
1616
```scala
1717
import scala.math.Numeric
1818

19-
inline trait Vec[T: {Specialized, Numeric}](elems: Array[T]):
19+
inline trait Vec[T: {Specialized, Numeric as num}](elems: Array[T]):
2020

2121
def length = elems.length
2222

0 commit comments

Comments
 (0)