@@ -9,9 +9,9 @@ use crate::ops::{Add, Mul};
99/// [`FromIterator`] this trait should rarely be called directly and instead
1010/// interacted with through [`Iterator::sum`].
1111///
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
1515#[ stable( feature = "iter_arith_traits" , since = "1.12.0" ) ]
1616pub trait Sum < A = Self > : Sized {
1717 /// Method which takes an iterator and generates `Self` from the elements by
@@ -28,9 +28,9 @@ pub trait Sum<A = Self>: Sized {
2828/// [`FromIterator`] this trait should rarely be called directly and instead
2929/// interacted with through [`Iterator::product`].
3030///
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
3434#[ stable( feature = "iter_arith_traits" , since = "1.12.0" ) ]
3535pub trait Product < A = Self > : Sized {
3636 /// Method which takes an iterator and generates `Self` from the elements by
0 commit comments