Remove outdate and ambiguous TODO (minor)

This commit is contained in:
Andrew Champion committed 2019-12-16 22:10:57 +00:00
1 parent c72a8d364d
commit abd6aee19f
1 file changed
-1
-1
View File
@@ -351,7 +351,6 @@ impl<R: Read + Seek> Decoder<R> {
pub fn colortype(&mut self) -> TiffResult<ColorType> {
match self.photometric_interpretation {
// TODO: catch also [ 8, 8, 8, _] this does not work due to a bug in rust atm
PhotometricInterpretation::RGB => {
match self.bits_per_sample[..] {
[r, g, b] if [r, r] == [g, b] => Ok(ColorType::RGB(r)),