Skip to content
Permalink
Browse files

style: Remove a map(From::from) statement that does literally nothing.

  • Loading branch information...
emilio committed Jul 6, 2019
1 parent 3410236 commit c5a90e1baf4981455335a5271fb22eb54fac465e
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/style/values/specified/border.rs
@@ -242,7 +242,7 @@ impl Parse for BorderSpacing {
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>> {
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)
}

0 comments on commit c5a90e1

Please sign in to comment.
You can’t perform that action at this time.