@@ -387,7 +387,7 @@ macro_rules! izip {
387387/// let with_macro: Chain<Chain<Once<_>, Take<Repeat<_>>>, slice::Iter<_>> =
388388/// chain![once(&0), repeat(&1).take(2), &[2, 3, 5],];
389389///
390- /// // ...is equivalant to this:
390+ /// // ...is equivalent to this:
391391/// let with_method: Chain<Chain<Once<_>, Take<Repeat<_>>>, slice::Iter<_>> =
392392/// once(&0)
393393/// .chain(repeat(&1).take(2))
@@ -904,7 +904,7 @@ pub trait Itertools : Iterator {
904904 /// a series of `Result::Ok` values. `Result::Err` values are unchanged.
905905 ///
906906 /// This is useful when you have some common error type for your crate and
907- /// need to propogate it upwards, but the `Result::Ok` case needs to be flattened.
907+ /// need to propagate it upwards, but the `Result::Ok` case needs to be flattened.
908908 ///
909909 /// ```
910910 /// use itertools::Itertools;
@@ -913,7 +913,7 @@ pub trait Itertools : Iterator {
913913 /// let it = input.iter().cloned().flatten_ok();
914914 /// itertools::assert_equal(it.clone(), vec![Ok(0), Ok(1), Err(false), Ok(2), Ok(3)]);
915915 ///
916- /// // This can also be used to propogate errors when collecting.
916+ /// // This can also be used to propagate errors when collecting.
917917 /// let output_result: Result<Vec<i32>, bool> = it.collect();
918918 /// assert_eq!(output_result, Err(false));
919919 /// ```
@@ -3157,7 +3157,7 @@ pub trait Itertools : Iterator {
31573157 /// be equal to `ypos`.
31583158 ///
31593159 /// On an iterator of length `n`, `position_minmax` does `1.5 * n`
3160- /// comparisons, and so is faster than calling `positon_min ` and
3160+ /// comparisons, and so is faster than calling `position_min ` and
31613161 /// `position_max` separately which does `2 * n` comparisons.
31623162 ///
31633163 /// For the minimum, if several elements are equally minimum, the
0 commit comments