api-macro: remove more unnecessary parentheses

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-05-15 09:15:10 +02:00
parent b671b2fce2
commit 7d6ecaa306

View File

@ -142,7 +142,7 @@ pub fn handle_method(mut attribs: JSONObject, mut func: syn::ItemFn) -> Result<T
#returns_schema_definition #returns_schema_definition
pub const #input_schema_name: &'static ::proxmox::api::schema::ObjectSchema = pub const #input_schema_name: &'static ::proxmox::api::schema::ObjectSchema =
(&#input_schema); &#input_schema;
#vis const #api_method_name: ::proxmox::api::ApiMethod = #vis const #api_method_name: ::proxmox::api::ApiMethod =
::proxmox::api::ApiMethod::new( ::proxmox::api::ApiMethod::new(