From b671b2fce255514453c2b605b9ba52b84bf2fdf4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 14 May 2020 15:39:22 +0200 Subject: [PATCH] api-macro: remove some unnecessary parentheses in output Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/src/api/method.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-api-macro/src/api/method.rs b/proxmox-api-macro/src/api/method.rs index bb3e0637..949ef108 100644 --- a/proxmox-api-macro/src/api/method.rs +++ b/proxmox-api-macro/src/api/method.rs @@ -127,7 +127,7 @@ pub fn handle_method(mut attribs: JSONObject, mut func: syn::ItemFn) -> Result - pub const #return_schema_name: &'static ::proxmox::api::schema::Schema = (#inner); + pub const #return_schema_name: &'static ::proxmox::api::schema::Schema = #inner; }; returns_schema_setter = quote! { .returns(#return_schema_name) }; }