Fix documentation typos

(cherry picked from commit a98814b930)
This commit is contained in:
Francisco Giordano
2021-04-26 15:41:17 -03:00
parent 10c763da6f
commit cfd6e7eab9
3 changed files with 2 additions and 3 deletions

View File

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

View File

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

View File

@ -18,7 +18,7 @@ contract ERC1820Implementer is IERC1820Implementer {
mapping(bytes32 => mapping(address => bool)) private _supportedInterfaces; 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) { function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) public view virtual override returns (bytes32) {
return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00); return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00);