cargo fmt

This commit is contained in:
B. Petersen
2019-09-13 11:02:34 +02:00
parent 056faad029
commit 70a69d5313

View File

@@ -132,11 +132,11 @@ impl Context {
pub fn set_ui_config(&self, key: &str, value: Option<&str>) -> Result<(), &str> {
if !key.starts_with("ui.") {
return Err("Ui config key has to be prefixed with 'ui.'")
return Err("Ui config key has to be prefixed with 'ui.'");
}
if self.sql.set_config(self, key, value).is_err() {
return Err("Sql error")
return Err("Sql error");
}
Ok(())
}