Skip to content

Commit ddbb274

Browse files
committed
panic
1 parent 934f1df commit ddbb274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic_functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ pub fn fast_remap(
180180
let img = ImageBuffer::from_vec(new_w_h.0, new_w_h.1, val).unwrap();
181181
DynamicImage::ImageLuma16(img)
182182
}
183-
_ => todo!(),
183+
_ => panic!("Only mono8, mono16, and rgb8 support fast remap."),
184184
};
185185
remaped
186186
}

0 commit comments

Comments
 (0)