diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-18 22:18:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 22:18:06 +0800 |
commit | 460c9f3943454ecb1679746b363ddbc5b903849b (patch) | |
tree | f4257d3e9235324399e67c2bd51c7f0a99946883 | |
parent | 2e2f819fd6e62ec757a5eba75556d2890d5a2ad3 (diff) | |
parent | d6e73b013fc1380da07c16c49a2730969b209e4e (diff) | |
download | dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.gz dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.bz2 dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.lz dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.xz dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.tar.zst dexon-solidity-460c9f3943454ecb1679746b363ddbc5b903849b.zip |
Merge pull request #3343 from ethereum/structs-struct
Fix grammar: "structs type" into "struct type"
-rw-r--r-- | docs/structure-of-a-contract.rst | 6 |
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 |