mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix extra space
This commit is contained in:
parent
61e4c29cf8
commit
bc36dbf3b8
@ -29,10 +29,10 @@ annotation, the "data location", about where it is stored. There are three data
|
|||||||
non-persistent area where function arguments are stored, and behaves mostly like memory.
|
non-persistent area where function arguments are stored, and behaves mostly like memory.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you can, try to use ``calldata`` as data location because it will avoid copies and
|
If you can, try to use ``calldata`` as a data location because it will avoid copies and
|
||||||
also makes sure that the data cannot be modified. Calldata is typically preferred over
|
also makes sure that the data cannot be modified. Calldata is typically preferred over
|
||||||
memory in external functions (though not required after version 0.6.9). Arrays and
|
memory in external functions (though not required after version 0.6.9). Arrays and
|
||||||
structs with ``calldata`` data location can also be returned from functions, but it
|
structs with ``calldata`` data location can also be returned from functions, but it
|
||||||
is not possible to allocate such types.
|
is not possible to allocate such types.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
Loading…
Reference in New Issue
Block a user