Skip to content

Commit 752a9fc

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

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
@@ -221,7 +221,7 @@ Expressions
221221
:id: compl_ex_BgUHiSB4kd4b
222222
:status: draft
223223

224-
``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.
224+
``Saturating<T>`` is a wrapper type in Rust’s ``core`` library (``core::num::Saturating<T>``) that makes arithmetic operations on the wrapped value perform saturating arithmetic instead of wrapping, panicking, or overflowing.
225225
``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

0 commit comments

Comments
 (0)