소스 검색

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