aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/util/str.rs')
-rw-r--r--components/util/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/str.rs b/components/util/str.rs
index e5be0d122f7..80e5fb04d6c 100644
--- a/components/util/str.rs
+++ b/components/util/str.rs
@@ -173,7 +173,7 @@ pub fn parse_unsigned_integer<T: Iterator<Item=char>>(input: T) -> Option<u32> {
})
}
-#[derive(Copy, Clone, Debug)]
+#[derive(Copy, Clone, Debug, PartialEq)]
pub enum LengthOrPercentageOrAuto {
Auto,
Percentage(f32),