mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
quick fix for appearence
This commit is contained in:
parent
9ca29aa508
commit
c2cf806996
@ -178,6 +178,7 @@ Can I put arrays inside of a mapping? How do I make a mapping of a mapping?
|
|||||||
Mappings are already syntactically similar to arrays as they are, therefore it doesn't make much sense to store an array in them. Rather what you should do is create a mapping of a mapping.
|
Mappings are already syntactically similar to arrays as they are, therefore it doesn't make much sense to store an array in them. Rather what you should do is create a mapping of a mapping.
|
||||||
|
|
||||||
An example of this would be::
|
An example of this would be::
|
||||||
|
|
||||||
contract c {
|
contract c {
|
||||||
struct myStruct {
|
struct myStruct {
|
||||||
uint someNumber;
|
uint someNumber;
|
||||||
|
Loading…
Reference in New Issue
Block a user