message: refactor: removed unnecessary IntoIterator::into_iter in rounded_corners.rs
diff: @@ -186,7 +186,7 @@ fn compute_radii(corners: RoundedCorners, width: f64, height: f64) -> String {
  // left side & adjacent radii
  height / (radii[3] + radii[0]),
  ];
  - let smallest_ratio = IntoIterator::into_iter(ratios).fold(f64::INFINITY, |a, b| a.min(b));
  + let smallest_ratio = ratios.into_iter().fold(f64::INFINITY, |a, b| a.min(b));
  if smallest_ratio < 1. {
  // fix overlapping radii, but keep ratios between radii
  radii = [
  @@ -228,8 +228,7 @@ fn compute_radii(corners: RoundedCorners, width: f64, height: f64) -> String {
  // left side & adjacent radii
  height / (max_radii[3] + max_radii[0]),
  ];
  - let max_smallest_ratio =
  - IntoIterator::into_iter(max_ratios).fold(f64::INFINITY, |a, b| a.min(b));
  + let max_smallest_ratio = max_ratios.into_iter().fold(f64::INFINITY, |a, b| a.min(b));
  if max_smallest_ratio < 1. {
  // fix overlapping radii, but keep ratios between radii
  max_radii = [
  @@ -240,7 +239,7 @@ fn compute_radii(corners: RoundedCorners, width: f64, height: f64) -> String {
  ];
  }
  - for (index, max_radius) in IntoIterator::into_iter(max_radii).enumerate() {
  + for (index, max_radius) in max_radii.into_iter().enumerate() {
  if max_radius != 0. {
  radii[index] = max_radius;
  }
  