Skip to content

Commit 1a9530c

Browse files
committed
docs(transformer/class-properties): fix typo (#10542)
1 parent f13fe0a commit 1a9530c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_transformer/src/es2022/class_properties/instance_prop_init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl<'a> InstanceInitializerVisitor<'a, '_> {
152152
/// Unlike `InstanceInitializerVisitor`, does not check for symbol clashes.
153153
///
154154
/// Therefore only needs to walk until find a node which has a scope. No point continuing to traverse
155-
/// inside that scope, as by definition and nested scopes can't be first level.
155+
/// inside that scope, as by definition any nested scopes can't be first level.
156156
///
157157
/// The visitors here are for the only types which can be the first scope reached when starting
158158
/// traversal from an `Expression`.

0 commit comments

Comments
 (0)