]> git.lizzy.rs Git - rust.git/commit
Try "overflowing" the final function argument when it's a closure
authorMarcus Klaas <mail@marcusklaas.nl>
Thu, 8 Oct 2015 21:07:19 +0000 (23:07 +0200)
committerMarcus Klaas <mail@marcusklaas.nl>
Thu, 8 Oct 2015 21:40:33 +0000 (23:40 +0200)
commitccd404ac6f5f8cd9ac1cbb11494b65e336294432
treee62bafe61144f2c3e8362e9f0072b9f7b9bd53be
parent915f27f177260ab8a9c4916e06272082e485e1d8
Try "overflowing" the final function argument when it's a closure

This means that we try formatting the last argument of a function call with block
indentation instead of visual indentation when it is a closure and its first line
fits on the same line as the first arguments.
src/expr.rs
src/missed_spans.rs
tests/source/chains.rs
tests/target/chains.rs
tests/target/hard-tabs.rs