Skip to content

Commit cc1f98d

Browse files
committed
docs: Add warning block
1 parent 2a40e68 commit cc1f98d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bit_uint/ops.rs

+4
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,12 @@ macro_rules! impl_ops {
240240
///
241241
/// Returns [`None`] unless `self` is `0`.
242242
///
243+
/// <div class="warning">
244+
///
243245
/// Note that negating any positive integer will overflow.
244246
///
247+
/// </div>
248+
///
245249
/// # Examples
246250
///
247251
/// ```

0 commit comments

Comments
 (0)