We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c591839 commit a96de9cCopy full SHA for a96de9c
swc/src/lib.rs
@@ -110,7 +110,7 @@ impl VisitMut for TransformVisitor {
110
fn visit_mut_call_expr(&mut self, call_expr: &mut CallExpr) {
111
// Skip entire execution if no import call was found
112
// @see visit_mut_import_decl
113
- if self.local_indents.len() == 0 {
+ if self.local_indents.is_empty() {
114
return;
115
}
116
call_expr.visit_mut_children_with(self);
0 commit comments