aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-04 19:03:55 +0800
committerchriseth <chris@ethereum.org>2018-10-04 19:28:16 +0800
commitd76bfcd935407e7249cfb8480a29da24615667cf (patch)
tree64e752a223dde295279fadf52934ac7cae6e80e0 /docs
parent1305bf34f0f82983868028cf2e39f218ba742385 (diff)
downloaddexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar
dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.gz
dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.bz2
dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.lz
dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.xz
dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.zst
dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.zip
Fix typos.
Diffstat (limited to 'docs')
-rw-r--r--docs/solidity-by-example.rst2
-rw-r--r--docs/types.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 0f9a71ab..1bbd42f8 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -242,7 +242,7 @@ activate themselves.
mapping(address => uint) pendingReturns;
// Set to true at the end, disallows any change.
- // By defaul initialized to `false`.
+ // By default initialized to `false`.
bool ended;
// Events that will be emitted on changes.
diff --git a/docs/types.rst b/docs/types.rst
index 84c448ff..dfe77728 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -499,9 +499,9 @@ terminate the string literal. Newline only terminates the string literal if it i
Hexadecimal Literals
--------------------
-Hexademical Literals are prefixed with the keyword ``hex`` and are enclosed in double or single-quotes (``hex"001122FF"``). Their content must be a hexadecimal string and their value will be the binary representation of those values.
+Hexadecimal literals are prefixed with the keyword ``hex`` and are enclosed in double or single-quotes (``hex"001122FF"``). Their content must be a hexadecimal string and their value will be the binary representation of those values.
-Hexademical Literals behave like String Literals and have the same convertibility restrictions.
+Hexadecimal literals behave like string literals and have the same convertibility restrictions.
.. index:: enum