Open
Description
rustfmt seems to use visual style rather than block style when reformatting long closure argument lists:
let write_status = |status: &mut Vec<ansi_term::ANSIString>,
diff: &Diff,
heading: &str,
color: &Style,
show_hints: bool,
hints: &[&str]|
-> Result<bool> {
One possible block-style alternative rustfmt could use:
let write_status = |
status: &mut Vec<ansi_term::ANSIString>,
diff: &Diff,
heading: &str,
color: &Style,
show_hints: bool,
hints: &[&str]
| -> Result<bool> {