diff options
author | chriseth <chris@ethereum.org> | 2017-09-25 18:01:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 18:01:20 +0800 |
commit | a23f7f38b9ce3ea105b7594b68a7050cc254ee2b (patch) | |
tree | 00b6425745934a7cb47e6e4b4c8482394df419d5 /docs | |
parent | ccb689701e6a602a44bf2941ca71c683f96907d1 (diff) | |
parent | d45629d909b8809273c5dcd09fb9ff81299d81d0 (diff) | |
download | dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.tar dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.tar.gz dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.tar.bz2 dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.tar.lz dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.tar.xz dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.tar.zst dexon-solidity-a23f7f38b9ce3ea105b7594b68a7050cc254ee2b.zip |
Merge pull request #2909 from bernardpeh/mydev
faq typo
Diffstat (limited to 'docs')
-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 f59d86e7..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 always 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:: |