Skip to content

Commit

Permalink
Merge pull request #443 from oguzutku1745/update-operators-sub
Browse files Browse the repository at this point in the history
Update sub
  • Loading branch information
d0cd authored Feb 16, 2025
2 parents 427bfab + 821ed6e commit 871cc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/leo/04_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ let b: u8 = a.sub(1u8); // 0u8

#### Description

Computes `first - second`, storing the result in `destination`.
Computes `first - second`, storing the result in `destination`. The operation halts if the result is negative in an unsigned type or if it exceeds the minimum representable value in a signed type.

#### Supported Types

Expand Down

0 comments on commit 871cc6a

Please sign in to comment.