diff options
Diffstat (limited to 'alacritty_config_derive/src/config_deserialize/de_enum.rs')
-rw-r--r-- | alacritty_config_derive/src/config_deserialize/de_enum.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_config_derive/src/config_deserialize/de_enum.rs b/alacritty_config_derive/src/config_deserialize/de_enum.rs index 73634e73..56a2f7ba 100644 --- a/alacritty_config_derive/src/config_deserialize/de_enum.rs +++ b/alacritty_config_derive/src/config_deserialize/de_enum.rs @@ -19,7 +19,7 @@ pub fn derive_deserialize(ident: Ident, generics: Generics, data_enum: DataEnum) }) { let variant_ident = &variant.ident; let variant_str = variant_ident.to_string(); - available_values = format!("{}`{}`, ", available_values, variant_str); + available_values = format!("{available_values}`{variant_str}`, "); let literal = variant_str.to_lowercase(); |