From d05a52657f00da84b5d9e3f547c7bba62d5b3a11 Mon Sep 17 00:00:00 2001 From: Vectorized Date: Tue, 24 Dec 2024 16:05:08 +0000 Subject: [PATCH] Add natspec on overflow comment --- src/utils/SafeCastLib.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/SafeCastLib.sol b/src/utils/SafeCastLib.sol index 42ba81ba16..1fbcb61fe9 100644 --- a/src/utils/SafeCastLib.sol +++ b/src/utils/SafeCastLib.sol @@ -10,6 +10,7 @@ library SafeCastLib { /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ + /// @dev Unable to cast to the target type due to overflow. error Overflow(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/