mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
refactor(ast): add line breaks (#3860)
Code style nit. Add line breaks between some `impl`s.
This commit is contained in:
parent
bef7f2b836
commit
9e148e97a9
1 changed files with 2 additions and 0 deletions
|
|
@ -853,6 +853,7 @@ impl<'a> SwitchCase<'a> {
|
||||||
self.test.is_none()
|
self.test.is_none()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> CatchClause<'a> {
|
impl<'a> CatchClause<'a> {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
span: Span,
|
span: Span,
|
||||||
|
|
@ -1044,6 +1045,7 @@ impl<'a> FormalParameters<'a> {
|
||||||
self.items.is_empty()
|
self.items.is_empty()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> FunctionBody<'a> {
|
impl<'a> FunctionBody<'a> {
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
self.directives.is_empty() && self.statements.is_empty()
|
self.directives.is_empty() && self.statements.is_empty()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue