From 35ea45ad563d82c39dd45fd17755ca734f745fea Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Mon, 8 Aug 2022 18:03:24 +0000 Subject: [PATCH] Remove repr from string enum --- qbittorrent-web-api-gen/src/generate/group.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent-web-api-gen/src/generate/group.rs b/qbittorrent-web-api-gen/src/generate/group.rs index 4f5dfe9..b50d3d2 100644 --- a/qbittorrent-web-api-gen/src/generate/group.rs +++ b/qbittorrent-web-api-gen/src/generate/group.rs @@ -170,7 +170,7 @@ impl EnumValueType { ), EnumValueType::String => ( group.enum_derives(&["serde::Deserialize", "serde::Serialize"]), - quote! { #[repr(i8)] }, + quote! {}, ), } }