Skip to content

Commit b399846

Browse files
committed
Rename function to get_node_children_by_path for clarity
1 parent 44cea48 commit b399846

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rust/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub fn get_node_by_path(path: &str) -> Option<&Node> {{
158158
}}
159159
}}
160160
161-
pub fn get_children_by_path(path: &str) -> Vec<&Node> {{
161+
pub fn get_node_children_by_path(path: &str) -> Vec<&Node> {{
162162
match path {{
163163
{} _ => vec![],
164164
}}

rust/src/static/_auto_generated/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ pub fn get_node_by_path(path: &str) -> Option<&Node> {
18591859
}
18601860
}
18611861

1862-
pub fn get_children_by_path(path: &str) -> Vec<&Node> {
1862+
pub fn get_node_children_by_path(path: &str) -> Vec<&Node> {
18631863
match path {
18641864
"ua2aks" => vec![&UA2AKS_FLE, &UA2AKS_IT, &UA2AKS_IA, &UA2AKS_FSS, &UA2AKS_FSH, &UA2AKS_FALAOL],
18651865
"ua2aks/falaol" => vec![&UA2AKS_FALAOL_DTS, &UA2AKS_FALAOL_DART, &UA2AKS_FALAOL_DTRL, &UA2AKS_FALAOL_DALA],

0 commit comments

Comments
 (0)