Skip to content

Commit ab4c902

Browse files
committed
fix doc comment
1 parent a0cfeef commit ab4c902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/typescript/prefer_for_of.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ fn prevents_for_of_conversion_direct_usage(grand_parent: &AstNode, parent: &AstN
221221
}
222222
}
223223

224-
/// Check if arr[i] usage prevents for-of conversion
224+
/// Check if array item access prevents for-of conversion
225225
fn prevents_for_of_array_access(
226226
parent: &AstNode,
227227
grand_parent: &AstNode,

0 commit comments

Comments
 (0)