Skip to content

Commit cb8a089

Browse files
committed
typo
1 parent 66e5b6c commit cb8a089

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • content/stellar-contracts/utils/math

content/stellar-contracts/utils/math/wad.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ Operator overloading is supported across WAD and native i128 types where unambig
123123
**Explicit methods are available for safety:**
124124
- `checked_add()`, `checked_sub()`, etc. return `Option<Wad>` for overflow handling
125125

126-
:::warning[Overflow Behavior]
126+
<Callout type="warning">
127+
128+
**Overflow Behavior**
127129

128130
**Just like regular Rust**, operator overloading does not include overflow checks:
129131

@@ -132,7 +134,7 @@ Operator overloading is supported across WAD and native i128 types where unambig
132134

133135
This design follows Rust's standard library pattern: operators for performance, checked methods for safety.
134136

135-
:::
137+
</Callout>
136138

137139
# How It Works
138140

0 commit comments

Comments
 (0)