diff --git a/contracts/token/ERC1155/extensions/ERC1155Supply.sol b/contracts/token/ERC1155/extensions/ERC1155Supply.sol index 54a7fe3f51b..84a93ea8c98 100644 --- a/contracts/token/ERC1155/extensions/ERC1155Supply.sol +++ b/contracts/token/ERC1155/extensions/ERC1155Supply.sol @@ -26,7 +26,7 @@ abstract contract ERC1155Supply is ERC1155 { uint256 private _totalSupplyAll; /** - * @dev Total value of tokens in with a given id. + * @dev Total value of tokens with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; diff --git a/contracts/token/ERC20/extensions/ERC4626.sol b/contracts/token/ERC20/extensions/ERC4626.sol index 93a84862b78..dd0e940e2a8 100644 --- a/contracts/token/ERC20/extensions/ERC4626.sol +++ b/contracts/token/ERC20/extensions/ERC4626.sol @@ -55,7 +55,7 @@ import {Math} from "../../../utils/math/Math.sol"; * functions. Overriding {_deposit} automatically affects both {deposit} and {mint}. Similarly, overriding {_withdraw} * automatically affects both {withdraw} and {redeem}. Overall it is not recommended to override the public facing * functions since that could lead to inconsistent behaviors between the {deposit} and {mint} or between {withdraw} and - * {redeem}, which is documented to have lead to loss of funds. + * {redeem}, which is documented to have led to loss of funds. * * * Overrides to the deposit or withdraw mechanism must be reflected in the preview functions as well. *