Skip to content

Commit 8e91d91

Browse files
reject-iarr00
andauthored
Add missing apostrophe owner s to owner's (#5462)
Co-authored-by: Arr00 <[email protected]>
1 parent 9cfcf8b commit 8e91d91

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contracts/token/ERC20/ERC20.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
241241
}
242242

243243
/**
244-
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
244+
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
245245
*
246246
* This internal function is equivalent to `approve`, and can be used to
247247
* e.g. set automatic allowances for certain subsystems, etc.
@@ -291,7 +291,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
291291
}
292292

293293
/**
294-
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
294+
* @dev Updates `owner`'s allowance for `spender` based on spent `value`.
295295
*
296296
* Does not update the allowance value in case of infinite allowance.
297297
* Revert if not enough allowance is available.

contracts/token/ERC20/extensions/draft-ERC20TemporaryApproval.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ abstract contract ERC20TemporaryApproval is ERC20, IERC7674 {
6161
}
6262

6363
/**
64-
* @dev Sets `value` as the temporary allowance of `spender` over the `owner` s tokens.
64+
* @dev Sets `value` as the temporary allowance of `spender` over the `owner`'s tokens.
6565
*
6666
* This internal function is equivalent to `temporaryApprove`, and can be used to e.g. set automatic allowances
6767
* for certain subsystems, etc.

0 commit comments

Comments
 (0)