Skip to content

Commit a876b04

Browse files
authored
mention package for Mirror (#16230)
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
2 parents 6524325 + 2574d80 commit a876b04

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)