Skip to content

Commit 5a82bf0

Browse files
rcseacordfelix91gr
andauthored
Update src/coding-guidelines/expressions.rst
Co-authored-by: Félix Fischer <felix91gr@users.noreply.github.com>
1 parent fd91493 commit 5a82bf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coding-guidelines/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Expressions
222222
:status: draft
223223

224224
``Saturating<T>`` is a wrapper type in Rust’s standard library (``core::num::Saturating<T>``) that makes arithmetic operations on the wrapped value perform saturating arithmetic instead of wrapping, panicking, or overflowing.
225-
The ``Saturating<T>`` is useful when you have a section of code or a data type where all arithmetic must be saturating.
225+
``Saturating<T>`` is useful when you have a section of code or a data type where all arithmetic must be saturating.
226226
This compliant solution uses the ``Saturating<T>`` type to define several functions that perform basic integer operations using saturation semantics.
227227

228228
.. code-block:: rust

0 commit comments

Comments
 (0)