message: Update src/imageops/sample.rs
diff: @@ -764,13 +764,9 @@ where
  // check if the new dimensions are the same as the old. if they are, make a copy instead of resampling
  if (nwidth, nheight) == image.dimensions() {
  let mut tmp = ImageBuffer::<P, Vec<S>>::new(image.width(), image.height());
  - match tmp.copy_from(image, 0, 0) {
  - Ok(_) => {
  + tmp.copy_from(image, 0, 0).unwrap();
  return tmp;
  }
  - Err(_) => {} // something has gone wrong doing a direct copy, continue with normal path
  - };
  - }
  let mut method = match filter {
  FilterType::Nearest => Filter {
  