We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5fb3ae commit a05422aCopy full SHA for a05422a
src/items.rs
@@ -1947,7 +1947,7 @@ pub(crate) fn rewrite_struct_field(
1947
}
1948
1949
let force_space_after_colon =
1950
- is_ty_kind_with_absolute_decl(&field.ty.clone().into_inner().kind);
+ is_ty_kind_with_absolute_decl(&(*field.ty).kind);
1951
let type_annotation_spacing = type_annotation_spacing(context.config, force_space_after_colon);
1952
let prefix = rewrite_struct_field_prefix(context, field)?;
1953
0 commit comments