diff options
| author | Philipp Krones <hello@philkrones.com> | 2022-10-06 09:19:29 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2022-10-06 09:19:29 +0200 |
| commit | e2808afd60ea0f0e17c3aced354adfd58a1f825f (patch) | |
| tree | 3d9bcb2d75f4de029f4720c7c5462cd7e09fcf0d /src/docs/arithmetic_side_effects.txt | |
| parent | da16cc1da9814710e637ff242b71768a4d3724b7 (diff) | |
| parent | 887ba0c5a489e28b55ff84244e1dc153861d16ad (diff) | |
Merge remote-tracking branch 'upstream/master' into rustup
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? |
