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.
12151215When using a backed enum, there MUST NOT be a space between the enum name and colon, and there MUST be exactly one
12161216space between the colon and the backing type. This is consistent with the style for return types.
12171217
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.
12191219
12201220Constants in Enumerations MAY use either PascalCase or UPPER_CASE capitalization. PascalCase is RECOMMENDED,
12211221so that it is consistent with case declarations.
You can’t perform that action at this time.
0 commit comments