pub fn split_expression_and_format_spec(
raw: &str,
) -> Result<(String, Option<InterpolationFormatSpec>)>Expand description
Split interpolation content expr[:spec] at the top-level format separator.
This preserves :: (enum/type separators) and ignores separators inside
nested delimiters/strings.