Merge pull request #3299 from KamuelaFranco/patch-1

Update style-guide.rst to include enum style
This commit is contained in:
chriseth 2017-12-11 12:00:21 +01:00 committed by GitHub
commit a5d2cecbc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -739,6 +739,12 @@ Modifier Names
Use mixedCase. Examples: ``onlyBy``, ``onlyAfter``, ``onlyDuringThePreSale``.
Enums
=====
Enums, in the style of simple type declarations, should be named using the CapWords style. Examples: ``TokenGroup``, ``Frame``, ``HashStyle``, ``CharacterLocation``.
Avoiding Naming Collisions
==========================