浏览代码

Update `_revokeRole` documentation in AccessControl (#5321)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
Maks 9 月之前
父节点
当前提交
a2a5dc26a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contracts/access/AccessControl.sol

+ 1 - 1
contracts/access/AccessControl.sol

@@ -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.
      *