aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-12-18 20:31:40 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-12-18 20:31:40 +0800
commitd6e73b013fc1380da07c16c49a2730969b209e4e (patch)
tree76e5dc7a278987268e91981875e1f2f03cdd32f3
parent55e9af2f20f04d1f75291850c92c18364c8c2683 (diff)
downloaddexon-solidity-d6e73b013fc1380da07c16c49a2730969b209e4e.tar.gz
dexon-solidity-d6e73b013fc1380da07c16c49a2730969b209e4e.tar.zst
dexon-solidity-d6e73b013fc1380da07c16c49a2730969b209e4e.zip
Fix grammar: "structs type" into "struct type"
-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 0b554800..13925bd1 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