Skip to content

Commit ca44b38

Browse files
BersierWojciechMazur
authored andcommitted
Update derivation.md
Added missing import [Cherry-picked 1627f05] [Cherry-picked 825a453]
1 parent b7962a7 commit ca44b38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/_docs/reference/contextual/derivation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,9 @@ Both `eqSum` and `eqProduct` have a by-name parameter `elems`, because the argum
396396
Pulling this all together we have the following complete implementation,
397397

398398
```scala
399+
import scala.collection.AbstractIterable
400+
import scala.compiletime.{erasedValue, error, summonInline}
399401
import scala.deriving.*
400-
import scala.compiletime.{error, erasedValue, summonInline}
401402

402403
inline def summonInstances[T, Elems <: Tuple]: List[Eq[?]] =
403404
inline erasedValue[Elems] match

0 commit comments

Comments
 (0)