Skip to main content

direct_child_split_section_paths

Function direct_child_split_section_paths 

Source
pub fn direct_child_split_section_paths(
    section_path: &[&'static str],
    split_paths: &[Vec<&'static str>],
) -> Vec<Vec<&'static str>>
Expand description

Returns split sections that are direct children of section_path.

§Arguments

  • section_path: Parent section path to match.
  • split_paths: All split section paths.

§Returns

Returns split paths whose parent is exactly section_path.

§Examples

let _ = ();