diff options
| author | bors <bors@rust-lang.org> | 2022-09-27 14:38:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-27 14:38:12 +0000 |
| commit | 257fb4b458d9fc86530899705fa14c68a5c69d07 (patch) | |
| tree | fa96101d69a8782c99e08f574016f1e436ed7b18 /src | |
| parent | 47c9145bd04afd0d00649e6c0eff542b35502410 (diff) | |
| parent | 14abb8395c4ae09475539dbc55ba89dd533981d9 (diff) | |
| download | rust-257fb4b458d9fc86530899705fa14c68a5c69d07.tar.gz rust-257fb4b458d9fc86530899705fa14c68a5c69d07.zip | |
Auto merge of #9543 - philipcraig:fix-saturing-typo, r=giraffate
fix typo "Saturing" -> "Saturating" --- *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: fix typo "Saturing" -> "Saturating"
Diffstat (limited to 'src')
| -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? |
