We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e5b6c commit cb8a089Copy full SHA for cb8a089
1 file changed
content/stellar-contracts/utils/math/wad.mdx
@@ -123,7 +123,9 @@ Operator overloading is supported across WAD and native i128 types where unambig
123
**Explicit methods are available for safety:**
124
- `checked_add()`, `checked_sub()`, etc. return `Option<Wad>` for overflow handling
125
126
-:::warning[Overflow Behavior]
+<Callout type="warning">
127
+
128
+**Overflow Behavior**
129
130
**Just like regular Rust**, operator overloading does not include overflow checks:
131
@@ -132,7 +134,7 @@ Operator overloading is supported across WAD and native i128 types where unambig
132
134
133
135
This design follows Rust's standard library pattern: operators for performance, checked methods for safety.
136
-:::
137
+</Callout>
138
139
# How It Works
140
0 commit comments