Skip to content

Commit 4a714c1

Browse files
benhutchisonbishabosha
authored andcommitted
mention package for Mirror
Newcomers (like me) don't know where `Mirror` comes from and there's actually a lot of Scala 3 content that skips over mentioning this
1 parent d9301e0 commit 4a714c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_docs/reference/contextual/derivation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ of the `Mirror` type class available.
154154

155155
## `Mirror`
156156

157-
`Mirror` type class instances provide information at the type level about the components and labelling of the type.
157+
`scala.deriving.Mirror` type class instances provide information at the type level about the components and labelling of the type.
158158
They also provide minimal term level infrastructure to allow higher level libraries to provide comprehensive
159159
derivation support.
160160

@@ -172,7 +172,7 @@ Instances for `Mirror` are also generated conditionally for:
172172
- and where the compiler can generate a `Mirror` type class instance for each child case.
173173

174174

175-
The `Mirror` type class definition is as follows:
175+
The `scala.deriving.Mirror` type class definition is as follows:
176176

177177
```scala
178178
sealed trait Mirror:

0 commit comments

Comments
 (0)