Improve docs for ERC721URIStorage._burn (#3324)

This commit is contained in:
mcIovin
2022-04-07 18:28:18 -05:00
committed by GitHub
parent d4d8d2ed97
commit 731e199038

View File

@ -48,14 +48,9 @@ abstract contract ERC721URIStorage is ERC721 {
} }
/** /**
* @dev Destroys `tokenId`. * @dev See {ERC721-_burn}. This override additionally checks to see if a
* The approval is cleared when the token is burned. * token-specific URI was set for the token, and if so, it deletes the token URI from
* * the storage mapping.
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/ */
function _burn(uint256 tokenId) internal virtual override { function _burn(uint256 tokenId) internal virtual override {
super._burn(tokenId); super._burn(tokenId);