mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
chore: run rustfmt against source
This commit is contained in:
parent
4d9fa00fd5
commit
48d30a4f71
@ -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() => {
|
||||
|
Loading…
Reference in New Issue
Block a user