mirror of
https://git.proxmox.com/git/proxmox
synced 2025-10-04 15:15:35 +00:00
api-macro: remove more unnecessary parentheses
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
b671b2fce2
commit
7d6ecaa306
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user