Skip to content

Commit 121b89c

Browse files
docs: fix IERC4626 previewWithdraw comment (#811)
1 parent 1bf6e02 commit 121b89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/IERC4626.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ interface IERC4626 is IERC20 {
138138
/// - MUST NOT revert.
139139
///
140140
/// NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in
141-
/// share price or some other type of condition, meaning the depositor will lose assets by depositing.
141+
/// share price or some other type of condition, meaning the depositor will lose assets by withdrawing.
142142
function previewWithdraw(uint256 assets) external view returns (uint256 shares);
143143

144144
/// @notice Burns shares from owner and sends exactly assets of underlying tokens to receiver.

0 commit comments

Comments
 (0)