From 0a25ec4583b276e5e16fc3a10ebdcede3254609b Mon Sep 17 00:00:00 2001 From: Ryan Chandler Date: Fri, 9 Dec 2022 22:40:03 +0000 Subject: [PATCH] chore: fmt --- src/parser/expressions.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/parser/expressions.rs b/src/parser/expressions.rs index 127c66a..9582276 100644 --- a/src/parser/expressions.rs +++ b/src/parser/expressions.rs @@ -1417,7 +1417,14 @@ fn interpolated_string_part(state: &mut State) -> ParseResult 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 {