mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Remove a map(From::from) statement that does literally nothing.
This commit is contained in:
parent
341023690c
commit
c5a90e1baf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue