From b0bd33dbe4dedeb22e5d00af777e5c5750651dcd Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Fri, 6 Mar 2026 10:54:37 +0000 Subject: [PATCH] Remove equality from rational types; can be implemented later via cross-multiplication --- src/encoder/tiff_value.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encoder/tiff_value.rs b/src/encoder/tiff_value.rs index 800ab8b..d8e9ecb 100644 --- a/src/encoder/tiff_value.rs +++ b/src/encoder/tiff_value.rs @@ -673,14 +673,14 @@ pub struct Ifd(pub u32); pub struct Ifd8(pub u64); /// Type to represent tiff values of type `RATIONAL` -#[derive(Debug, Copy, Clone, PartialEq, Eq)] +#[derive(Debug, Copy, Clone)] pub struct Rational { pub n: u32, pub d: u32, } /// Type to represent tiff values of type `SRATIONAL` -#[derive(Debug, Copy, Clone, PartialEq, Eq)] +#[derive(Debug, Copy, Clone)] pub struct SRational { pub n: i32, pub d: i32,