commit 96a189deb9636b627b969d23bee051fe0b27ecf0
parent 8c229920ad6bdccbb81110d88ccc139a09d65784
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 5 Jan 2020 00:12:15 +0100
Merge pull request #803 from aeolyus/master
Minor typo conect -> connect
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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");