Closed
Description
Rust has this nifty feature that a trailing backslash ignores leading whitespace on the next line when found in a string constant. This means that if I have a Rust source file like:
fn main() {
println!("foo\
bar");
}
I can instead indent it like:
fn main() {
println!("foo\
bar");
}
But rustfmt doesn't do this, from what I can tell. Perhaps we ought to?
Metadata
Metadata
Assignees
Labels
No labels