mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style(mapping-types): fix mapping style
This commit is contained in:
parent
87f61d960c
commit
e89efe89a6
@ -95,8 +95,8 @@ The example below uses ``_allowances`` to record the amount someone else is allo
|
||||
|
||||
contract MappingExample {
|
||||
|
||||
mapping (address => uint256) private _balances;
|
||||
mapping (address => mapping (address => uint256)) private _allowances;
|
||||
mapping(address => uint256) private _balances;
|
||||
mapping(address => mapping(address => uint256)) private _allowances;
|
||||
|
||||
event Transfer(address indexed from, address indexed to, uint256 value);
|
||||
event Approval(address indexed owner, address indexed spender, uint256 value);
|
||||
|
Loading…
Reference in New Issue
Block a user