Skip to content

Commit e108e09

Browse files
authored
Merge pull request #10653 from mbloms/patch-1
Update enums.md: Change super => transparent
2 parents 121ced4 + 771d47a commit e108e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/enums/enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ This trait defines a single public method, `ordinal`:
120120
package scala.reflect
121121

122122
/** A base trait of all Scala enum definitions */
123-
super trait Enum extends Any with Product with Serializable {
123+
transparent trait Enum extends Any with Product with Serializable {
124124

125125
/** A number uniquely identifying a case of an enum */
126126
def ordinal: Int

0 commit comments

Comments
 (0)