Remove stray attribute
This commit is contained in:
parent
63fecad2e7
commit
7bd25a3048
@ -587,7 +587,6 @@ macro_rules! integer_sum_product {
|
|||||||
($($a:ident)*) => ($(
|
($($a:ident)*) => ($(
|
||||||
#[stable(feature = "iter_arith_traits", since = "1.12.0")]
|
#[stable(feature = "iter_arith_traits", since = "1.12.0")]
|
||||||
impl Sum for $a {
|
impl Sum for $a {
|
||||||
#[rustc_inherit_overflow_checks]
|
|
||||||
fn sum<I: Iterator<Item=$a>>(iter: I) -> $a {
|
fn sum<I: Iterator<Item=$a>>(iter: I) -> $a {
|
||||||
iter.fold(0, Add::add)
|
iter.fold(0, Add::add)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user