Prechádzať zdrojové kódy

Fix documentation typos

(cherry picked from commit a98814b930910220d5b5ba25ed2d4dcf45e48315)
Francisco Giordano 4 rokov pred
rodič
commit
cfd6e7eab9

+ 0 - 1
contracts/token/ERC1155/ERC1155.sol

@@ -10,7 +10,6 @@ import "../../utils/Context.sol";
 import "../../utils/introspection/ERC165.sol";
 
 /**
- *
  * @dev Implementation of the basic standard multi-token.
  * See https://eips.ethereum.org/EIPS/eip-1155
  * Originally based on code by Enjin: https://github.com/enjin/erc-1155

+ 1 - 1
contracts/token/ERC1155/IERC1155Receiver.sol

@@ -5,7 +5,7 @@ pragma solidity ^0.8.0;
 import "../../utils/introspection/IERC165.sol";
 
 /**
- * _Available since v3.1._
+ * @dev _Available since v3.1._
  */
 interface IERC1155Receiver is IERC165 {
 

+ 1 - 1
contracts/utils/introspection/ERC1820Implementer.sol

@@ -18,7 +18,7 @@ contract ERC1820Implementer is IERC1820Implementer {
     mapping(bytes32 => mapping(address => bool)) private _supportedInterfaces;
 
     /**
-     * See {IERC1820Implementer-canImplementInterfaceForAddress}.
+     * @dev See {IERC1820Implementer-canImplementInterfaceForAddress}.
      */
     function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) public view virtual override returns (bytes32) {
         return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00);