Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 47eec87

Browse files
committed
Clean up
1 parent cc42ac2 commit 47eec87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/src/resolve_fold.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ impl Fold for ResolveFold {
8282
asserts,
8383
}))
8484
}
85+
// match: export const data = { ... }
8586
ModuleDecl::ExportDecl(ExportDecl {
8687
decl: Decl::Var(var),
8788
span,
@@ -146,7 +147,7 @@ impl Fold for ResolveFold {
146147
items
147148
}
148149

149-
// fold&resolve worker import url
150+
// resolve worker import url
150151
fn fold_new_expr(&mut self, mut new_expr: NewExpr) -> NewExpr {
151152
let ok = match new_expr.callee.as_ref() {
152153
Expr::Ident(id) => id.sym.as_ref().eq("Worker"),
@@ -179,7 +180,7 @@ impl Fold for ResolveFold {
179180
new_expr.fold_children_with(self)
180181
}
181182

182-
// fold&resolve dynamic import url
183+
// resolve dynamic import url
183184
fn fold_call_expr(&mut self, mut call: CallExpr) -> CallExpr {
184185
if is_call_expr_by_name(&call, "import") {
185186
let src = match call.args.first() {

0 commit comments

Comments
 (0)