formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-12-18 13:13:34 +01:00
parent d0349e9ba9
commit 5e1468bff8
2 changed files with 1 additions and 4 deletions

View File

@ -17,9 +17,7 @@ mod structs;
pub const INTNAMES: &[&str] = &[ pub const INTNAMES: &[&str] = &[
"Integer", "i8", "i16", "i32", "i64", "isize", "u8", "u16", "u32", "u64", "usize", "Integer", "i8", "i16", "i32", "i64", "isize", "u8", "u16", "u32", "u64", "usize",
]; ];
pub const NUMBERNAMES: &[&str] = &[ pub const NUMBERNAMES: &[&str] = &["Number", "f32", "f64"];
"Number", "f32", "f64",
];
/// The main `Schema` type. /// The main `Schema` type.
/// ///

View File

@ -155,7 +155,6 @@ impl IntegerSchema {
} }
} }
/// Data type to describe (JSON like) number value /// Data type to describe (JSON like) number value
#[derive(Debug)] #[derive(Debug)]
pub struct NumberSchema { pub struct NumberSchema {