aboutsummaryrefslogtreecommitdiffstats
path: root/docs/structure-of-a-contract.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-12-18 22:18:06 +0800
committerGitHub <noreply@github.com>2017-12-18 22:18:06 +0800
commit460c9f3943454ecb1679746b363ddbc5b903849b (patch)
treef4257d3e9235324399e67c2bd51c7f0a99946883 /docs/structure-of-a-contract.rst
parent2e2f819fd6e62ec757a5eba75556d2890d5a2ad3 (diff)
parentd6e73b013fc1380da07c16c49a2730969b209e4e (diff)
downloaddexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.gz
dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.zst
dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.zip
Merge pull request #3343 from ethereum/structs-struct
Fix grammar: "structs type" into "struct type"
Diffstat (limited to 'docs/structure-of-a-contract.rst')
-rw-r--r--docs/structure-of-a-contract.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst
index e475fcd1..a9a7ed52 100644
--- a/docs/structure-of-a-contract.rst
+++ b/docs/structure-of-a-contract.rst
@@ -8,7 +8,7 @@ Structure of a Contract
Contracts in Solidity are similar to classes in object-oriented languages.
Each contract can contain declarations of :ref:`structure-state-variables`, :ref:`structure-functions`,
-:ref:`structure-function-modifiers`, :ref:`structure-events`, :ref:`structure-structs-types` and :ref:`structure-enum-types`.
+:ref:`structure-function-modifiers`, :ref:`structure-events`, :ref:`structure-struct-types` and :ref:`structure-enum-types`.
Furthermore, contracts can inherit from other contracts.
.. _structure-state-variables:
@@ -100,9 +100,9 @@ Events are convenience interfaces with the EVM logging facilities.
See :ref:`events` in contracts section for information on how events are declared
and can be used from within a dapp.
-.. _structure-structs-types:
+.. _structure-struct-types:
-Structs Types
+Struct Types
=============
Structs are custom defined types that can group several variables (see