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 e6987f2f809..7c36aca7c18 100644
--- a/components/util/str.rs
+++ b/components/util/str.rs
@@ -127,7 +127,7 @@ pub fn parse_unsigned_integer<T: Iterator<Item=char>>(input: T) -> Option<u32> {
})
}
-#[derive(Copy)]
+#[derive(Copy, Clone)]
pub enum LengthOrPercentageOrAuto {
Auto,
Percentage(f64),