chore: run rustfmt against source

This commit is contained in:
Caleb Cartwright 2020-11-28 15:03:06 -06:00 committed by Caleb Cartwright
parent 4d9fa00fd5
commit 48d30a4f71

View File

@ -1536,7 +1536,6 @@ fn rewrite_struct_lit<'a>(
let path_shape = shape.sub_width(2)?;
let path_str = rewrite_path(context, PathContext::Expr, None, path, path_shape)?;
let has_base = match struct_rest {
ast::StructRest::None if fields.is_empty() => return Some(format!("{} {{}}", path_str)),
ast::StructRest::Rest(_) if fields.is_empty() => {