Update comment for _beforeTokenTransfer (#3586)

This commit is contained in:
hamiltoncyber
2022-08-24 23:07:35 +08:00
committed by GitHub
parent 6b9bda872d
commit dc14c72e53

View File

@ -64,8 +64,7 @@ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` and 'to' cannot be the zero address at the same time.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/