Skip to content

Commit e54ce24

Browse files
camchenryCopilot
andauthored
Update tasks/linter_codegen/src/regex_node_kinds.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Cam McHenry <camchenry@users.noreply.github.com>
1 parent 6030f28 commit e54ce24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/linter_codegen/src/regex_node_kinds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use syn::{Expr, Pat, Stmt};
22

33
use crate::{node_type_set::NodeTypeSet, utils::astkind_variant_from_path};
44

5-
/// Fetches the current list of variants that can be returned by `run_on_regex_node`.
5+
/// Fetches the current list of variants that are handled by `run_on_regex_node`.
66
/// We read the source file to avoid hardcoding the list here and ensure this will stay updated.
77
pub fn get_regex_node_kinds() -> Option<NodeTypeSet> {
88
// Read crates/oxc_linter/src/utils/regex.rs and extract all variants in `run_on_regex_node` function

0 commit comments

Comments
 (0)