Skip to content

Commit

Permalink
Make Enum an abstract struct (#15274)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Dec 16, 2024
1 parent 6437ab9 commit 2f3e07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enum.cr
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#
# Color::Red.value # : UInt8
# ```
struct Enum
abstract struct Enum
include Comparable(self)

# Returns *value*.
Expand Down

0 comments on commit 2f3e07d

Please sign in to comment.