Function clippy_lints::utils::trim_multiline [] [src]

pub fn trim_multiline(s: Cow<str>, ignore_first: bool) -> Cow<str>

Trim indentation from a multiline string with possibility of ignoring the first line.