]> git.lizzy.rs Git - rust.git/commit
Update heuristic in rewrite_assign_rhs
authortopecongiro <seuchida@gmail.com>
Wed, 5 Jul 2017 09:30:11 +0000 (18:30 +0900)
committertopecongiro <seuchida@gmail.com>
Wed, 5 Jul 2017 09:30:11 +0000 (18:30 +0900)
commit0237347abcdcb8a173fe144d91673952530c785c
tree942e49c0ec9149c9ad57274b9c350e04b11642ce
parent101df143cfd60fcf5132aeb579da43684b32c509
Update heuristic in rewrite_assign_rhs

Put the rhs of assignement on the next line when putting next to `lhs = ` will
cause rhs to go multi line, but putting on the next line makes it fits
in a single line.
src/expr.rs