formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-11-25 15:07:18 +01:00
parent 7e3b6944f6
commit 9b07990086
2 changed files with 0 additions and 3 deletions

View File

@ -1,4 +1,3 @@
use std::fmt; use std::fmt;
/// Helper to represent const regular expressions /// Helper to represent const regular expressions

View File

@ -25,7 +25,6 @@ pub struct ParameterError {
// fixme: record parameter names, to make it usefull to display errord // fixme: record parameter names, to make it usefull to display errord
// on HTML forms. // on HTML forms.
impl ParameterError { impl ParameterError {
pub fn new() -> Self { pub fn new() -> Self {
Self { Self {
error_list: Vec::new(), error_list: Vec::new(),
@ -504,7 +503,6 @@ pub fn parse_boolean(value_str: &str) -> Result<bool, Error> {
/// Parse a complex property string (`ApiStringFormat::PropertyString`) /// Parse a complex property string (`ApiStringFormat::PropertyString`)
pub fn parse_property_string(value_str: &str, schema: &Schema) -> Result<Value, Error> { pub fn parse_property_string(value_str: &str, schema: &Schema) -> Result<Value, Error> {
match schema { match schema {
Schema::Object(object_schema) => { Schema::Object(object_schema) => {
let mut param_list: Vec<(String, String)> = vec![]; let mut param_list: Vec<(String, String)> = vec![];