From 93eda8dd1a085d9b70f7d5e0cff47985cd253a1a Mon Sep 17 00:00:00 2001 From: NftCryptoHunter007 Date: Wed, 4 Feb 2026 19:39:14 +0800 Subject: [PATCH] docs: fix IERC4626 previewWithdraw comment --- src/interfaces/IERC4626.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/IERC4626.sol b/src/interfaces/IERC4626.sol index 5853adfc..1b9ab4b8 100644 --- a/src/interfaces/IERC4626.sol +++ b/src/interfaces/IERC4626.sol @@ -138,7 +138,7 @@ interface IERC4626 is IERC20 { /// - MUST NOT revert. /// /// NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in - /// share price or some other type of condition, meaning the depositor will lose assets by depositing. + /// share price or some other type of condition, meaning the depositor will lose assets by withdrawing. function previewWithdraw(uint256 assets) external view returns (uint256 shares); /// @notice Burns shares from owner and sends exactly assets of underlying tokens to receiver.