about summary refs log tree commit diff
path: root/src/docs/arithmetic_side_effects.txt
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2022-09-28 14:27:32 +0200
committerPhilipp Krones <hello@philkrones.com>2022-09-28 14:27:32 +0200
commitbbcde666853d11f6f5f3bdc660f018cf7fc8cd71 (patch)
tree28df6eeea41c8e772bb65a172962f74282db1de1 /src/docs/arithmetic_side_effects.txt
parente5ce6d18df883f593e72f7958bebdc3ebcdbe85e (diff)
parent0f6932a1f7623663e50922225ea304340949c051 (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.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/docs/arithmetic_side_effects.txt b/src/docs/arithmetic_side_effects.txt
index 6c7d51a4989..b8c0872522e 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?
@@ -30,4 +30,4 @@ let _n = Decimal::MAX + Decimal::MAX;
 ```
 
 ### Allowed types
-Custom allowed types can be specified through the "arithmetic-side-effects-allowed" filter.
\ No newline at end of file
+Custom allowed types can be specified through the "arithmetic-side-effects-allowed" filter.