diff --git a/proxmox-api-macro/src/api.rs b/proxmox-api-macro/src/api.rs index ad8bf550..af438ce7 100644 --- a/proxmox-api-macro/src/api.rs +++ b/proxmox-api-macro/src/api.rs @@ -17,9 +17,7 @@ mod structs; pub const INTNAMES: &[&str] = &[ "Integer", "i8", "i16", "i32", "i64", "isize", "u8", "u16", "u32", "u64", "usize", ]; -pub const NUMBERNAMES: &[&str] = &[ - "Number", "f32", "f64", -]; +pub const NUMBERNAMES: &[&str] = &["Number", "f32", "f64"]; /// The main `Schema` type. /// diff --git a/proxmox-api/src/schema.rs b/proxmox-api/src/schema.rs index de64fad6..ad314678 100644 --- a/proxmox-api/src/schema.rs +++ b/proxmox-api/src/schema.rs @@ -155,7 +155,6 @@ impl IntegerSchema { } } - /// Data type to describe (JSON like) number value #[derive(Debug)] pub struct NumberSchema {