Skip to content

Commit 092d342

Browse files
authored
chore: fix typos (#6157)
1 parent a9ad11a commit 092d342

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/token/ERC1155/extensions/ERC1155Supply.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ abstract contract ERC1155Supply is ERC1155 {
2626
uint256 private _totalSupplyAll;
2727

2828
/**
29-
* @dev Total value of tokens in with a given id.
29+
* @dev Total value of tokens with a given id.
3030
*/
3131
function totalSupply(uint256 id) public view virtual returns (uint256) {
3232
return _totalSupply[id];

contracts/token/ERC20/extensions/ERC4626.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import {Math} from "../../../utils/math/Math.sol";
5555
* functions. Overriding {_deposit} automatically affects both {deposit} and {mint}. Similarly, overriding {_withdraw}
5656
* automatically affects both {withdraw} and {redeem}. Overall it is not recommended to override the public facing
5757
* functions since that could lead to inconsistent behaviors between the {deposit} and {mint} or between {withdraw} and
58-
* {redeem}, which is documented to have lead to loss of funds.
58+
* {redeem}, which is documented to have led to loss of funds.
5959
*
6060
* * Overrides to the deposit or withdraw mechanism must be reflected in the preview functions as well.
6161
*

0 commit comments

Comments
 (0)