diff options
| author | Philipp Krones <hello@philkrones.com> | 2022-10-06 09:44:38 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2022-10-06 09:44:38 +0200 |
| commit | d75b25faabdcf0a22fe37928917c4ab1761fa265 (patch) | |
| tree | e8c46d2dae51a0a61a6d28de138ca9add8276d8d /src/docs/arithmetic_side_effects.txt | |
| parent | da16cc1da9814710e637ff242b71768a4d3724b7 (diff) | |
| download | rust-d75b25faabdcf0a22fe37928917c4ab1761fa265.tar.gz rust-d75b25faabdcf0a22fe37928917c4ab1761fa265.zip | |
Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup
Diffstat (limited to 'src/docs/arithmetic_side_effects.txt')
| -rw-r--r-- | src/docs/arithmetic_side_effects.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docs/arithmetic_side_effects.txt b/src/docs/arithmetic_side_effects.txt index 6c7d51a4989..4ae8bce88ad 100644 --- a/src/docs/arithmetic_side_effects.txt +++ b/src/docs/arithmetic_side_effects.txt @@ -5,7 +5,7 @@ Operators like `+`, `-`, `*` or `<<` are usually capable of overflowing accordin Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#overflow), or can panic (`/`, `%`). -Known safe built-in types like `Wrapping` or `Saturing`, floats, operations in constant +Known safe built-in types like `Wrapping` or `Saturating`, floats, operations in constant environments, allowed types and non-constant operations that won't overflow are ignored. ### Why is this bad? |
