diff --git a/build/entity.rs b/build/entity.rs index ef36138..22b6488 100644 --- a/build/entity.rs +++ b/build/entity.rs @@ -269,10 +269,7 @@ pub fn build() -> anyhow::Result { } }); - let concrete_entity_names = concrete_entities - .keys() - .map(ident) - .collect::>(); + let concrete_entity_names = concrete_entities.keys().map(ident).collect::>(); let concrete_entity_structs = concrete_entities.keys().map(|struct_name| { let fields = collect_all_fields(struct_name, &entities);