diff --git a/src/main.rs b/src/main.rs index 13f3a8433d2117d8b3ef1c093e6d34a9874b6565..7c9d02641be5e89dcae0b8a38619ba94b571dc41 100644 --- a/src/main.rs +++ b/src/main.rs @@ -157,7 +157,7 @@ fn check_db() { // Turn on WAL in SQLite if CONFIG.enable_db_wal() { use diesel::RunQueryDsl; - let connection = db::get_connection().expect("Can't conect to DB"); + let connection = db::get_connection().expect("Can't connect to DB"); diesel::sql_query("PRAGMA journal_mode=wal") .execute(&connection) .expect("Failed to turn on WAL");