chore: fmt

This commit is contained in:
Ryan Chandler 2022-12-06 15:41:24 +00:00
parent 7d153443f6
commit 72f2588509
No known key found for this signature in database
GPG Key ID: F113BCADDB3B0CCA
2 changed files with 5 additions and 3 deletions

View File

@ -266,7 +266,9 @@ impl Parser {
}
if name.is_none() && has_used_named_arguments {
return Err(ParseError::CannotUsePositionalArgumentAfterNamedArgument(state.current.span));
return Err(ParseError::CannotUsePositionalArgumentAfterNamedArgument(
state.current.span,
));
}
if unpack && state.current.kind == TokenKind::RightParen {

View File

@ -166,7 +166,7 @@ impl Parser {
}
Ok(Some(Type::SelfReference))
},
}
TokenKind::Parent => {
state.next();
@ -178,7 +178,7 @@ impl Parser {
}
Ok(Some(Type::ParentReference))
},
}
TokenKind::Identifier(id) => {
let start = state.current.span;
state.next();