diff options
author | chriseth <chris@ethereum.org> | 2017-09-25 18:01:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 18:01:09 +0800 |
commit | d45629d909b8809273c5dcd09fb9ff81299d81d0 (patch) | |
tree | 175e270667a5e80dd522a435064717a27baef517 | |
parent | 5ffd119990b300fb4fa3c0cf693c07ed67bb0aa1 (diff) | |
download | dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.gz dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.bz2 dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.lz dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.xz dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.tar.zst dexon-solidity-d45629d909b8809273c5dcd09fb9ff81299d81d0.zip |
Update frequently-asked-questions.rst
-rw-r--r-- | docs/frequently-asked-questions.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 387f16fe..93dcfbb8 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -304,8 +304,9 @@ There are defaults for the storage location depending on which type of variable it concerns: * state variables are always in storage -* function arguments are always in memory -* local variables are always in the stack but reference storage +* function arguments are in memory by default +* local variables of struct, array or mapping type reference storage by default +* local variables of value type (i.e. neither array, nor struct nor mapping) are stored in the stack Example:: |