Skip to content

Commit 3f75ea3

Browse files
committed
Correct comment
1 parent 4326e2c commit 3f75ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-core/src/javascript.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ impl<'a> Generator<'a> {
308308
// Handled in collect_definitions
309309
Definition::CustomType(CustomType { .. }) => None,
310310

311-
// If a custom type is unused then we don't need to generate code for it
311+
// If a definition is unused then we don't need to generate code for it
312312
Definition::ModuleConstant(ModuleConstant { location, .. })
313313
| Definition::Function(Function { location, .. })
314314
if self

0 commit comments

Comments
 (0)