Browse Source

Update comment for _beforeTokenTransfer (#3586)

hamiltoncyber 3 years ago
parent
commit
dc14c72e53
1 changed files with 1 additions and 2 deletions
  1. 1 2
      contracts/token/ERC721/extensions/ERC721Enumerable.sol

+ 1 - 2
contracts/token/ERC721/extensions/ERC721Enumerable.sol

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