* Added basic punctuation to @dev docs (#1697) * add missing uppercase
This commit is contained in:
committed by
Francisco Giordano
parent
c008f1f0c6
commit
3cb4a00fce
@ -10,7 +10,7 @@ library Roles {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev give an account access to this role
|
||||
* @dev Give an account access to this role.
|
||||
*/
|
||||
function add(Role storage role, address account) internal {
|
||||
require(account != address(0));
|
||||
@ -20,7 +20,7 @@ library Roles {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev remove an account's access to this role
|
||||
* @dev Remove an account's access to this role.
|
||||
*/
|
||||
function remove(Role storage role, address account) internal {
|
||||
require(account != address(0));
|
||||
@ -30,7 +30,7 @@ library Roles {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev check if an account has this role
|
||||
* @dev Check if an account has this role.
|
||||
* @return bool
|
||||
*/
|
||||
function has(Role storage role, address account) internal view returns (bool) {
|
||||
|
||||
Reference in New Issue
Block a user