From c5a90e1baf4981455335a5271fb22eb54fac465e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 6 Jul 2019 11:41:01 +0200 Subject: [PATCH] style: Remove a map(From::from) statement that does literally nothing. --- components/style/values/specified/border.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }