From d592323e390db4007711c8b7bcdbeec2a8ed2271 Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Sat, 4 Jan 2020 14:37:29 -0800 Subject: [PATCH] minor typo conect -> connect --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 13f3a84..7c9d026 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");