mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style(visibility-and-getters): fix mapping style
This commit is contained in:
parent
72a17ceb71
commit
5b149adfcd
@ -200,12 +200,12 @@ The next example is more complex:
|
||||
struct Data {
|
||||
uint a;
|
||||
bytes3 b;
|
||||
mapping (uint => uint) map;
|
||||
mapping(uint => uint) map;
|
||||
uint[3] c;
|
||||
uint[] d;
|
||||
bytes e;
|
||||
}
|
||||
mapping (uint => mapping(bool => Data[])) public data;
|
||||
mapping(uint => mapping(bool => Data[])) public data;
|
||||
}
|
||||
|
||||
It generates a function of the following form. The mapping and arrays (with the
|
||||
|
Loading…
Reference in New Issue
Block a user