Skip to content

Commit

Permalink
Update _revokeRole documentation in AccessControl (#5321)
Browse files Browse the repository at this point in the history
Co-authored-by: Ernesto García <ernestognw@gmail.com>
  • Loading branch information
Madmaxs2 and ernestognw authored Jan 7, 2025
1 parent a99b31f commit a2a5dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/access/AccessControl.sol
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 {
}

/**
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
* @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.
*
* Internal function without access restriction.
*
Expand Down

0 comments on commit a2a5dc2

Please sign in to comment.