Fix spelling and grammar in comments (#3408)

This commit is contained in:
GitHubPang
2022-05-12 05:10:00 +08:00
committed by GitHub
parent 3bdf4bfd29
commit e633ee9ed3
5 changed files with 8 additions and 8 deletions

View File

@ -394,7 +394,7 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,

View File

@ -353,7 +353,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
* Emits an {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
@ -363,7 +363,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,