diff options
author | YuShuangqi <devysq@gmail.com> | 2018-01-27 07:36:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-27 07:36:25 +0800 |
commit | 0ef43978fd44fbcab542c8e135d572e44b6bb288 (patch) | |
tree | b98506e6ceaec50dfe50ef454e8385058f8a0abc | |
parent | 9028610b451faeb649bc1c2f77d832e1e712ba0e (diff) | |
download | dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.gz dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.bz2 dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.lz dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.xz dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.tar.zst dexon-solidity-0ef43978fd44fbcab542c8e135d572e44b6bb288.zip |
update types
correct the mistakes in writings
-rw-r--r-- | docs/types.rst | 2 |
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 ------ |