macros: remove a redundant string conversion

This commit is contained in:
Jussi Saurio
2026-09-08 12:24:02 +03:00
parent eef2507f78
commit b4a01498ce

View File

@@ -233,7 +233,7 @@ fn process_payload(payload_group: Group) -> String {
_ => {}
}
}
format!("{{ {variable_name_list} }}").to_string()
format!("{{ {variable_name_list} }}")
}
/// Generates the `get_description` implementation for the processed enum.
fn generate_get_description(