mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
chore: fmt
This commit is contained in:
parent
f933149525
commit
0a25ec4583
@ -1417,7 +1417,14 @@ fn interpolated_string_part(state: &mut State) -> ParseResult<Option<StringPart>
|
||||
let span = state.current.span;
|
||||
state.next();
|
||||
if let TokenKind::LiteralInteger(i) = &state.current.kind {
|
||||
let e = Expression::ArithmeticOperation(ArithmeticOperation::Negation { span, right: Box::new(Expression::LiteralInteger { i: i.clone() }) });
|
||||
let e = Expression::ArithmeticOperation(
|
||||
ArithmeticOperation::Negation {
|
||||
span,
|
||||
right: Box::new(Expression::LiteralInteger {
|
||||
i: i.clone(),
|
||||
}),
|
||||
},
|
||||
);
|
||||
state.next();
|
||||
e
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user