mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Clean up parsing of UnicodeRange.
Differential Revision: https://phabricator.services.mozilla.com/D76330
This commit is contained in:
parent
66185e81f6
commit
396338816d
1 changed files with 2 additions and 5 deletions
|
@ -208,10 +208,7 @@ where
|
|||
}
|
||||
|
||||
impl Parse for UnicodeRange {
|
||||
fn parse<'i, 't>(
|
||||
_context: &ParserContext,
|
||||
input: &mut Parser<'i, 't>,
|
||||
) -> Result<Self, ParseError<'i>> {
|
||||
UnicodeRange::parse(input).map_err(|e| e.into())
|
||||
fn parse<'i, 't>(_: &ParserContext, input: &mut Parser<'i, 't>) -> Result<Self, ParseError<'i>> {
|
||||
Ok(UnicodeRange::parse(input)?)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue