From 08ba72afa27133be2c8d16ba6964d3024238b859 Mon Sep 17 00:00:00 2001 From: William Chargin Date: Tue, 4 May 2021 07:10:24 -0700 Subject: [PATCH] Fix `ERC721._beforeTokenTransfer` docs (#2653) --- contracts/token/ERC721/ERC721.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/token/ERC721/ERC721.sol b/contracts/token/ERC721/ERC721.sol index b617f3d21..c2445b76d 100644 --- a/contracts/token/ERC721/ERC721.sol +++ b/contracts/token/ERC721/ERC721.sol @@ -367,8 +367,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { * 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` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */