Function clippy_utils::source::reindent_multiline
source · pub fn reindent_multiline(
s: Cow<'_, str>,
ignore_first: bool,
indent: Option<usize>
) -> Cow<'_, str>
Expand description
Reindent a multiline string with possibility of ignoring the first line.