Skip to content

Commit a2a5dc2

Browse files
Maksernestognw
andauthored
Update _revokeRole documentation in AccessControl (#5321)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 parent a99b31f commit a2a5dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/access/AccessControl.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 {
191191
}
192192

193193
/**
194-
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
194+
* @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.
195195
*
196196
* Internal function without access restriction.
197197
*

0 commit comments

Comments
 (0)