diff options
author | chriseth <chris@ethereum.org> | 2018-10-04 19:03:55 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-10-04 19:28:16 +0800 |
commit | d76bfcd935407e7249cfb8480a29da24615667cf (patch) | |
tree | 64e752a223dde295279fadf52934ac7cae6e80e0 /docs | |
parent | 1305bf34f0f82983868028cf2e39f218ba742385 (diff) | |
download | dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.gz dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.tar.zst dexon-solidity-d76bfcd935407e7249cfb8480a29da24615667cf.zip |
Fix typos.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/solidity-by-example.rst | 2 | ||||
-rw-r--r-- | docs/types.rst | 4 |
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 |