diff options
| author | Philip Craig <689193+philipcraig@users.noreply.github.com> | 2022-09-27 09:32:55 +0100 |
|---|---|---|
| committer | Philip Craig <689193+philipcraig@users.noreply.github.com> | 2022-09-27 09:32:55 +0100 |
| commit | 14abb8395c4ae09475539dbc55ba89dd533981d9 (patch) | |
| tree | 347dc542155e03ec1eb3f760275b9ac2c8624f36 /src/docs | |
| parent | 78dc616a7ae9815ea6bacccbb3aa40d27ed5eb6c (diff) | |
fix typo "Saturing" -> "Saturating"
Diffstat (limited to 'src/docs')
| -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? |
