split_top_level_commas

Function split_top_level_commas 

Source
pub(crate) fn split_top_level_commas(s: &str) -> Vec<&str>
Expand description

Split a declarator list on top-level commas only — commas inside () or <> (e.g. vec3<f32>(0, 0, 0)) must not split the declarator.