fix typo "Saturing" -> "Saturating"
This commit is contained in:
parent
78dc616a7a
commit
14abb8395c
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ declare_clippy_lint! {
|
|||
/// 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?
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue