Skip to content

Commit 484cb62

Browse files
committed
typo rename scala.Enum
1 parent 7e27fbf commit 484cb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/enums/desugarEnums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Cases such as `case C` expand to a `@static val` as opposed to a `val`. This all
206206
### Other Rules
207207

208208
- A normal case class which is not produced from an enum case is not allowed to extend
209-
`scala.Enum`. This ensures that the only cases of an enum are the ones that are
209+
`scala.reflect.Enum`. This ensures that the only cases of an enum are the ones that are
210210
explicitly declared in it.
211211

212212
- If an enum case has an extends clause, the enum class must be one of the

0 commit comments

Comments
 (0)