commit d156170971a4e1e93b56249a49286d5b69b9b924
parent d9bfe847db4f4660523ddccd299d6e61412e84eb
Author: Frank Petrilli <frank@petril.li>
Date: Sun, 24 Feb 2019 16:08:38 -0800
Minor typo fix conect => connect
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
@@ -211,7 +211,7 @@ mod migrations {
pub fn run_migrations() {
// Make sure the database is up to date (create if it doesn't exist, or run the migrations)
- let connection = crate::db::get_connection().expect("Can't conect to DB");
+ let connection = crate::db::get_connection().expect("Can't connect to DB");
use std::io::stdout;
embedded_migrations::run_with_output(&connection, &mut stdout()).expect("Can't run migrations");