diff --git a/ablescript/src/parser.rs b/ablescript/src/parser.rs index 875cb6ec..5fbcb802 100644 --- a/ablescript/src/parser.rs +++ b/ablescript/src/parser.rs @@ -66,7 +66,10 @@ impl<'source> Parser<'source> { let start = self.lexer.span().start; match token { - Token::Unless => Ok(Spanned::new(self.unless_flow()?, start..self.lexer.span().end)), + Token::Unless => Ok(Spanned::new( + self.unless_flow()?, + start..self.lexer.span().end, + )), Token::Functio => Ok(Spanned::new( self.functio_flow()?, start..self.lexer.span().end,