File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1215,7 +1215,7 @@ instead of `protected`, as enums do not support inheritance.
1215
1215
When using a backed enum, there MUST NOT be a space between the enum name and colon, and there MUST be exactly one
1216
1216
space between the colon and the backing type. This is consistent with the style for return types.
1217
1217
1218
- Enum case declarations MUST use CamelCase capitalization. Enum case declarations MUST be on their own line.
1218
+ Enum case declarations MUST use PascalCase capitalization. Enum case declarations MUST be on their own line.
1219
1219
1220
1220
Constants in Enumerations MAY use either PascalCase or UPPER_CASE capitalization. PascalCase is RECOMMENDED,
1221
1221
so that it is consistent with case declarations.
You can’t perform that action at this time.
0 commit comments