aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuShuangqi <devysq@gmail.com>2018-01-27 07:36:25 +0800
committerGitHub <noreply@github.com>2018-01-27 07:36:25 +0800
commit0ef43978fd44fbcab542c8e135d572e44b6bb288 (patch)
treeb98506e6ceaec50dfe50ef454e8385058f8a0abc
parent9028610b451faeb649bc1c2f77d832e1e712ba0e (diff)
downloaddexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.gz
dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.zst
dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.zip
update types
correct the mistakes in writings
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 98009b3f..55eaa69a 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -899,7 +899,7 @@ Operators Involving LValues
If ``a`` is an LValue (i.e. a variable or something that can be assigned to), the following operators are available as shorthands:
-``a += e`` is equivalent to ``a = a + e``. The operators ``-=``, ``*=``, ``/=``, ``%=``, ``a |=``, ``&=`` and ``^=`` are defined accordingly. ``a++`` and ``a--`` are equivalent to ``a += 1`` / ``a -= 1`` but the expression itself still has the previous value of ``a``. In contrast, ``--a`` and ``++a`` have the same effect on ``a`` but return the value after the change.
+``a += e`` is equivalent to ``a = a + e``. The operators ``-=``, ``*=``, ``/=``, ``%=``, ``|=``, ``&=`` and ``^=`` are defined accordingly. ``a++`` and ``a--`` are equivalent to ``a += 1`` / ``a -= 1`` but the expression itself still has the previous value of ``a``. In contrast, ``--a`` and ``++a`` have the same effect on ``a`` but return the value after the change.
delete
------