diff options
| author | topecongiro <seuchida@gmail.com> | 2017-04-24 16:50:11 +0900 |
|---|---|---|
| committer | topecongiro <seuchida@gmail.com> | 2017-04-24 16:50:11 +0900 |
| commit | 02cf515be63600c1a2f59ba4ce77695e1ef60ceb (patch) | |
| tree | 5eeba8a345a39811a9e0e212cf5f6100c7625e37 /src/chains.rs | |
| parent | cbd33e1983249a8edfd586d6f51c9c7a964a499c (diff) | |
Format source codes
Diffstat (limited to 'src/chains.rs')
| -rw-r--r-- | src/chains.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/chains.rs b/src/chains.rs index 27293175abb..1460c446352 100644 --- a/src/chains.rs +++ b/src/chains.rs @@ -424,10 +424,8 @@ fn rewrite_method_call(method_name: ast::Ident, let (lo, type_str) = if types.is_empty() { (args[0].span.hi, String::new()) } else { - let type_list: Vec<_> = try_opt!(types - .iter() - .map(|ty| ty.rewrite(context, shape)) - .collect()); + let type_list: Vec<_> = + try_opt!(types.iter().map(|ty| ty.rewrite(context, shape)).collect()); let type_str = if context.config.spaces_within_angle_brackets && type_list.len() > 0 { format!("::< {} >", type_list.join(", ")) |
