diff --git a/components/style/values/specified/border.rs b/components/style/values/specified/border.rs index 338b0d18c27..6ac569f3390 100644 --- a/components/style/values/specified/border.rs +++ b/components/style/values/specified/border.rs @@ -242,7 +242,7 @@ impl Parse for BorderSpacing { input: &mut Parser<'i, 't>, ) -> Result> { Size2D::parse_with(context, input, |context, input| { - NonNegativeLength::parse_quirky(context, input, AllowQuirks::Yes).map(From::from) + NonNegativeLength::parse_quirky(context, input, AllowQuirks::Yes) }) .map(GenericBorderSpacing) }