common: Remove extraneous semicolons

This commit is contained in:
Jonas Platte 2021-04-21 13:33:16 +02:00
parent bccdb74e15
commit fdc9d30652
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -293,12 +293,12 @@ impl FlattenedJson {
JsonValue::String(s) => {
if self.map.insert(path.clone(), s).is_some() {
warn!("Duplicate path in flattened JSON: {}", path);
};
}
}
JsonValue::Number(_) | JsonValue::Bool(_) => {
if self.map.insert(path.clone(), value.to_string()).is_some() {
warn!("Duplicate path in flattened JSON: {}", path);
};
}
}
JsonValue::Array(_) | JsonValue::Null => {}
}