Skip to content

Commit

Permalink
Update docs/_docs/internals/specialized-traits.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie Thompson <[email protected]>
  • Loading branch information
odersky and bishabosha authored Nov 15, 2024
1 parent c14b09c commit e550ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/internals/specialized-traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ As a first example, consider a `Vec` trait for vectors over a numeric type.
```scala
import scala.math.Numeric

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

def length = elems.length

Expand Down

0 comments on commit e550ab4

Please sign in to comment.