1
Fork 0

Tidy up some overrunning lines

This commit is contained in:
Nick Cameron 2015-07-16 14:23:48 +12:00
parent 9ab1587a98
commit f2bcee9d87
4 changed files with 25 additions and 12 deletions

View file

@ -315,7 +315,9 @@ fn rewrite_binary_op(context: &RewriteContext,
// 1 = space between lhs expr and operator
let mut result =
try_opt!(lhs.rewrite(context, context.config.max_width - offset - 1 - operator_str.len(), offset));
try_opt!(lhs.rewrite(context,
context.config.max_width - offset - 1 - operator_str.len(),
offset));
result.push(' ');
result.push_str(&operator_str);