removed redundant array code
This commit is contained in:
@@ -77,9 +77,7 @@ fn parse_toml(
|
||||
};
|
||||
|
||||
match value {
|
||||
Value::Array(array) => {
|
||||
for v in array.iter() { out.push_str(&format!("{}\n", v.to_string())); }
|
||||
},
|
||||
Value::Array(_) => {},
|
||||
Value::Boolean(boolean) => out.push_str(&format!("{:?}\n", boolean)),
|
||||
Value::Datetime(datetime) => out.push_str(&format!("{:?}\n", datetime)),
|
||||
Value::Float(float) => out.push_str(&format!("{:?}\n", float)),
|
||||
|
||||
Reference in New Issue
Block a user