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

This commit is contained in:
Emilio Cobos Álvarez 2019-07-06 11:41:01 +02:00
parent 341023690c
commit c5a90e1baf
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A

View file

@ -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)
}