mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style(security-considerations): fix mapping style
This commit is contained in:
parent
7b8478a81b
commit
1edfd73b37
@ -336,7 +336,7 @@ field of a ``struct`` that is the base type of a dynamic storage array. The
|
||||
pragma solidity >=0.6.0 <0.9.0;
|
||||
|
||||
contract Map {
|
||||
mapping (uint => uint)[] array;
|
||||
mapping(uint => uint)[] array;
|
||||
|
||||
function allocate(uint newMaps) public {
|
||||
for (uint i = 0; i < newMaps; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user