aboutsummaryrefslogtreecommitdiff
path: root/src/db/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/mod.rs')
-rw-r--r--src/db/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/db/mod.rs b/src/db/mod.rs
index d0c4f7b..b1fdeea 100644
--- a/src/db/mod.rs
+++ b/src/db/mod.rs
@@ -38,7 +38,11 @@ async fn apply_migrations(conn: &Connection) -> Result<()> {
.await?)
}
-async fn set_pragma(conn: &Connection, key: impl Into<String>, value: impl Into<String>) -> Result<()> {
+async fn set_pragma(
+ conn: &Connection,
+ key: impl Into<String>,
+ value: impl Into<String>,
+) -> Result<()> {
let key = key.into();
let value = value.into();
Ok(conn