Function rustfmt_nightly::utils::trim_left_preserve_layout [−][src]
pub(crate) fn trim_left_preserve_layout(
orig: &str,
indent: Indent,
config: &Config
) -> Option<String>
Expand description
Indent each line according to the specified indent.
e.g.
ⓘ
foo!{ x, y, foo( a, b, c, ), }
will become
ⓘ
foo!{ x, y, foo( a, b, c, ), }