aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-01-15 17:54:31 +0800
committerGitHub <noreply@github.com>2018-01-15 17:54:31 +0800
commite6d15cd01efc252da1205f36b6e7ab7230f642f8 (patch)
treed98ddf5d9a3d01440c8dd61b22aab83f1e7fafab
parent0c20b6da6b6c5f8fa72c389648b5da54c13945f9 (diff)
parentcb5758aa75c0c0281b7dc33aeb68b01902c3e700 (diff)
downloaddexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar
dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.gz
dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.bz2
dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.lz
dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.xz
dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.zst
dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.zip
Merge pull request #3392 from fulldecent/patch-4
Prefer CapWords style struct names
-rw-r--r--docs/style-guide.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst
index 66fecff8..9a1b919b 100644
--- a/docs/style-guide.rst
+++ b/docs/style-guide.rst
@@ -704,6 +704,12 @@ Contract and Library Names
Contracts and libraries should be named using the CapWords style. Examples: ``SimpleToken``, ``SmartBank``, ``CertificateHashRepository``, ``Player``.
+Struct Names
+==========================
+
+Structs should be named using the CapWords style. Examples: ``MyCoin``, ``Position``, ``PositionXY``.
+
+
Event Names
===========