File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ use crate::ops::{Sub, SubAssign};
1111/// Operations like `+` on `u32` values are intended to never overflow,
1212/// and in some debug configurations overflow is detected and results
1313/// in a panic. While most arithmetic falls into this category, some
14- /// code explicitly expects and relies upon modular arithmetic (e.g.,
15- /// hashing).
14+ /// code explicitly expects and relies upon saturating arithmetic.
1615///
1716/// Saturating arithmetic can be achieved either through methods like
1817/// `saturating_add`, or through the `Saturating<T>` type, which says that
@@ -93,7 +92,7 @@ macro_rules! saturating_impl {
9392 }
9493 }
9594 forward_ref_binop! { impl Add , add for Saturating <$t>, Saturating <$t>,
96- #[ unstable( feature = "saturating_int_impl" , issue = "87920" ) ]
95+ #[ unstable( feature = "saturating_int_impl" , issue = "87920" ) ] }
9796
9897 #[ unstable( feature = "saturating_int_impl" , issue = "87920" ) ]
9998 impl AddAssign for Saturating <$t> {
You can’t perform that action at this time.
0 commit comments