Skip to content

Commit ca10ef6

Browse files
committed
Add content for guideline to example
1 parent 8439b0f commit ca10ef6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/process/style-guideline.rst

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ We will examine each part:
9292
:scope: module
9393
:tags: numerics
9494

95+
Code must not rely on Rust's implicit integer wrapping behavior that occurs in release builds.
96+
Instead, explicitly handle potential overflows using the standard library's checked,
97+
saturating, or wrapping operations.
98+
9599
``guideline`` Title
96100
-------------------
97101

0 commit comments

Comments
 (0)