From 371ffa4710e4babfe0f87d4929f15a8f0cb93ebb Mon Sep 17 00:00:00 2001 From: David Wickes Date: Sun, 26 Feb 2017 21:44:05 +0000 Subject: [PATCH] Small reformat --- src/items.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/items.rs b/src/items.rs index 047855571c57..457c6749520f 100644 --- a/src/items.rs +++ b/src/items.rs @@ -1240,11 +1240,11 @@ pub fn rewrite_associated_type(ident: ast::Ident, let type_bounds_str = if let Some(ty_param_bounds) = ty_param_bounds_opt { let bounds: &[_] = ty_param_bounds; let bound_str = try_opt!(bounds.iter() - .map(|ty_bound| { - ty_bound.rewrite(context, Shape::legacy(context.config.max_width, indent)) - }) - .intersperse(Some(" + ".to_string())) - .collect::>()); + .map(|ty_bound| { + ty_bound.rewrite(context, Shape::legacy(context.config.max_width, indent)) + }) + .intersperse(Some(" + ".to_string())) + .collect::>()); if bounds.len() > 0 { format!(": {}", bound_str) } else {