@@ -9,9 +9,9 @@ use crate::ops::{Add, Mul};
9
9
/// [`FromIterator`] this trait should rarely be called directly and instead
10
10
/// interacted with through [`Iterator::sum`].
11
11
///
12
- /// [`sum`]: ../../std/iter/trait.Sum.html #tymethod.sum
13
- /// [`FromIterator`]: ../../std/ iter/trait. FromIterator.html
14
- /// [`Iterator::sum`]: ../../std/ iter/trait. Iterator.html#method. sum
12
+ /// [`sum`]: #tymethod.sum
13
+ /// [`FromIterator`]: crate:: iter:: FromIterator
14
+ /// [`Iterator::sum`]: crate:: iter:: Iterator:: sum
15
15
#[ stable( feature = "iter_arith_traits" , since = "1.12.0" ) ]
16
16
pub trait Sum < A = Self > : Sized {
17
17
/// Method which takes an iterator and generates `Self` from the elements by
@@ -28,9 +28,9 @@ pub trait Sum<A = Self>: Sized {
28
28
/// [`FromIterator`] this trait should rarely be called directly and instead
29
29
/// interacted with through [`Iterator::product`].
30
30
///
31
- /// [`product`]: ../../std/iter/trait.Product.html #tymethod.product
32
- /// [`FromIterator`]: ../../std/ iter/trait. FromIterator.html
33
- /// [`Iterator::product`]: ../../std/ iter/trait. Iterator.html#method. product
31
+ /// [`product`]: #tymethod.product
32
+ /// [`FromIterator`]: crate:: iter:: FromIterator
33
+ /// [`Iterator::product`]: crate:: iter:: Iterator:: product
34
34
#[ stable( feature = "iter_arith_traits" , since = "1.12.0" ) ]
35
35
pub trait Product < A = Self > : Sized {
36
36
/// Method which takes an iterator and generates `Self` from the elements by
0 commit comments