From a9c3108c9cd6267ebaf2489fb65a07b88a4f9d4e Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 22 Apr 2016 19:03:36 +1200 Subject: Change defaults and update tests and source New defaults are `Tabbed` for `chain_indent` and `chain_base_indent`, and `5` for `closure_block_indent_threshold`. --- src/string.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/string.rs') diff --git a/src/string.rs b/src/string.rs index bccf39deb92..e90e24f7af2 100644 --- a/src/string.rs +++ b/src/string.rs @@ -42,8 +42,8 @@ pub fn rewrite_string<'a>(orig: &str, fmt: &StringFormat<'a>) -> Option // `cur_start` is the position in `orig` of the start of the current line. let mut cur_start = 0; let mut result = String::with_capacity(stripped_str.len() - .checked_next_power_of_two() - .unwrap_or(usize::max_value())); + .checked_next_power_of_two() + .unwrap_or(usize::max_value())); result.push_str(fmt.opener); let ender_length = fmt.line_end.len(); -- cgit 1.4.1-3-g733a5