From 5e1468bff8496720258e620d07b8926b06e1a505 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 18 Dec 2019 13:13:34 +0100 Subject: [PATCH] formatting fixup Signed-off-by: Wolfgang Bumiller --- proxmox-api-macro/src/api.rs | 4 +--- proxmox-api/src/schema.rs | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) 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 {