We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f504dbd commit 668b1a0Copy full SHA for 668b1a0
src/coding-guidelines/expressions.rst
@@ -18,6 +18,8 @@ Expressions
18
:tags: security, performance, numerics
19
20
Eliminate `arithmetic overflow <https://rust-lang.github.io/fls/expressions.html#arithmetic-overflow>`_ of both signed and unsigned integer types.
21
+ Arithmetic overflow panics in debug mode, but wrapsaround in release mode.
22
+ Any wraparound behavior must be explicitly specified to ensure the same behavior in both debug and release modes.
23
24
This rule applies to the following primitive types:
25
0 commit comments