Unverified Commit 08ba72af by William Chargin Committed by GitHub

Fix `ERC721._beforeTokenTransfer` docs (#2653)

parent 0a905d67
...@@ -367,8 +367,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { ...@@ -367,8 +367,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
* transferred to `to`. * transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`. * - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned. * - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address. * - `from` and `to` are never both zero.
* - `to` cannot be the zero address.
* *
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment