File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
library/core/src/iter/traits Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ macro_rules! saturating_integer_sum_product {
106106 fn sum<I : Iterator <Item =Self >>( iter: I ) -> Self {
107107 iter. fold(
108108 $zero,
109- #[ rustc_inherit_overflow_checks]
110109 |a, b| a + b,
111110 )
112111 }
@@ -118,7 +117,6 @@ macro_rules! saturating_integer_sum_product {
118117 fn product<I : Iterator <Item =Self >>( iter: I ) -> Self {
119118 iter. fold(
120119 $one,
121- #[ rustc_inherit_overflow_checks]
122120 |a, b| a * b,
123121 )
124122 }
@@ -130,7 +128,6 @@ macro_rules! saturating_integer_sum_product {
130128 fn sum<I : Iterator <Item =& ' a Self >>( iter: I ) -> Self {
131129 iter. fold(
132130 $zero,
133- #[ rustc_inherit_overflow_checks]
134131 |a, b| a + b,
135132 )
136133 }
@@ -142,7 +139,6 @@ macro_rules! saturating_integer_sum_product {
142139 fn product<I : Iterator <Item =& ' a Self >>( iter: I ) -> Self {
143140 iter. fold(
144141 $one,
145- #[ rustc_inherit_overflow_checks]
146142 |a, b| a * b,
147143 )
148144 }
You can’t perform that action at this time.
0 commit comments