We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63fecad commit 7bd25a3Copy full SHA for 7bd25a3
src/libcore/iter/traits.rs
@@ -587,7 +587,6 @@ macro_rules! integer_sum_product {
587
($($a:ident)*) => ($(
588
#[stable(feature = "iter_arith_traits", since = "1.12.0")]
589
impl Sum for $a {
590
- #[rustc_inherit_overflow_checks]
591
fn sum<I: Iterator<Item=$a>>(iter: I) -> $a {
592
iter.fold(0, Add::add)
593
}
0 commit comments