Fix typos

This commit is contained in:
Denton Liu 2016-07-11 17:04:51 -04:00
parent f8aec4d89e
commit 5d113600aa
2 changed files with 3 additions and 3 deletions

View File

@ -422,7 +422,7 @@ The opcodes ``pushi`` and ``jumpdest`` cannot be used directly.
+-------------------------+------+-----------------------------------------------------------------+ +-------------------------+------+-----------------------------------------------------------------+
| dup1 ... dup16 | | copy ith stack slot to the top (counting from top) | | dup1 ... dup16 | | copy ith stack slot to the top (counting from top) |
+-------------------------+------+-----------------------------------------------------------------+ +-------------------------+------+-----------------------------------------------------------------+
| swap1 ... swap1 | `*` | swap topmost and ith stack slot below it | | swap1 ... swap16 | `*` | swap topmost and ith stack slot below it |
+-------------------------+------+-----------------------------------------------------------------+ +-------------------------+------+-----------------------------------------------------------------+
| mload(p) | | mem[p..(p+32)) | | mload(p) | | mem[p..(p+32)) |
+-------------------------+------+-----------------------------------------------------------------+ +-------------------------+------+-----------------------------------------------------------------+
@ -661,7 +661,7 @@ variables. Take care that when you assign to variables that point to
memory or storage, you will only change the pointer and not the data. memory or storage, you will only change the pointer and not the data.
There are two kinds of assignments: Functional-style and instruction-style. There are two kinds of assignments: Functional-style and instruction-style.
For functionaly-style assignments (``variable := value``), you need to provide a value in a For functional-style assignments (``variable := value``), you need to provide a value in a
functional-style expression that results in exactly one stack value functional-style expression that results in exactly one stack value
and for instruction-style (``=: variable``), the value is just taken from the stack top. and for instruction-style (``=: variable``), the value is just taken from the stack top.
For both ways, the colon points to the name of the variable. For both ways, the colon points to the name of the variable.

View File

@ -192,7 +192,7 @@ Function Visibility Specifiers
- ``public``: visible externally and internally (creates accessor function for storage/state variables) - ``public``: visible externally and internally (creates accessor function for storage/state variables)
- ``private``: only visible in the current contract - ``private``: only visible in the current contract
- ``external``: only visible externally (only for functions) - i.e. can only be message-called (via ``this.fun``) - ``external``: only visible externally (only for functions) - i.e. can only be message-called (via ``this.func``)
- ``internal``: only visible internally - ``internal``: only visible internally