Skip to content

Commit

Permalink
Fix typos (#3677)
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubPang authored Sep 5, 2022
1 parent e09ccd1 commit 84fafa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/utils/introspection/ERC165Checker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ library ERC165Checker {
bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

/**
* @dev Returns true if `account` supports the {IERC165} interface,
* @dev Returns true if `account` supports the {IERC165} interface.
*/
function supportsERC165(address account) internal view returns (bool) {
// Any contract that implements ERC165 must explicitly indicate support of
Expand Down Expand Up @@ -82,7 +82,7 @@ library ERC165Checker {
return false;
}

// query support of each interface in _interfaceIds
// query support of each interface in interfaceIds
for (uint256 i = 0; i < interfaceIds.length; i++) {
if (!supportsERC165InterfaceUnchecked(account, interfaceIds[i])) {
return false;
Expand Down

0 comments on commit 84fafa7

Please sign in to comment.