cranelift_codegen_meta::srcgen

Function parse_multiline

Source
fn parse_multiline(s: &str) -> Vec<String>
Expand description

Given a multi-line string, split it into a sequence of lines after stripping a common indentation. This is useful for strings defined with doc strings.