Update typo in using-for.rst

Update typo in using-for.rst
This commit is contained in:
Callis Ezenwaka 2022-02-17 00:28:34 +01:00 committed by chriseth
parent 1aacb67a10
commit 5134dafb8e
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ the variable will not point beyond ``calldatasize()`` is performed.
For external function pointers the address and the function selector can be For external function pointers the address and the function selector can be
accessed using ``x.address`` and ``x.selector``. accessed using ``x.address`` and ``x.selector``.
The selector consists of four right-aligned bytes. The selector consists of four right-aligned bytes.
Both values are can be assigned to. For example: Both values can be assigned to. For example:
.. code-block:: solidity .. code-block:: solidity
:force: :force:

View File

@ -120,7 +120,7 @@ It is also possible to extend elementary types in that way:
} }
Note that all external library calls are actual EVM function calls. This means that Note that all external library calls are actual EVM function calls. This means that
if you pass memory or value types, a copy will be performed, even of the if you pass memory or value types, a copy will be performed, even in case of the
``self`` variable. The only situation where no copy will be performed ``self`` variable. The only situation where no copy will be performed
is when storage reference variables are used or when internal library is when storage reference variables are used or when internal library
functions are called. functions are called.