about summary refs log tree commit diff
path: root/src/string.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2017-02-22 16:20:50 +1300
committerNick Cameron <ncameron@mozilla.com>2017-02-23 13:15:48 +1300
commit9eb78a33335b83073c90dd8b065c31f1fb958dcc (patch)
treee97bddd58194324584b1f076c1a600b9c0def510 /src/string.rs
parentba1202f6b3dfc634ed651e1b1f0994b613f7a85c (diff)
Fallout
Diffstat (limited to 'src/string.rs')
-rw-r--r--src/string.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.rs b/src/string.rs
index 7fd6bb78e61..d8b3711040c 100644
--- a/src/string.rs
+++ b/src/string.rs
@@ -43,8 +43,8 @@ pub fn rewrite_string<'a>(orig: &str, fmt: &StringFormat<'a>) -> Option<String>
     // `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();