refactor(ast): add line breaks (#3860)

Code style nit. Add line breaks between some `impl`s.
This commit is contained in:
overlookmotel 2024-06-23 20:22:11 +00:00
parent bef7f2b836
commit 9e148e97a9

View file

@ -853,6 +853,7 @@ impl<'a> SwitchCase<'a> {
self.test.is_none()
}
}
impl<'a> CatchClause<'a> {
pub fn new(
span: Span,
@ -1044,6 +1045,7 @@ impl<'a> FormalParameters<'a> {
self.items.is_empty()
}
}
impl<'a> FunctionBody<'a> {
pub fn is_empty(&self) -> bool {
self.directives.is_empty() && self.statements.is_empty()