Merge pull request #12689 from callezenwaka/develop

Fix typos on doc
This commit is contained in:
chriseth 2022-02-28 19:04:03 +01:00 committed by GitHub
commit 466251b5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.