Fix compile error

This commit is contained in:
Sakuhl 2018-03-20 12:08:42 +01:00
parent ba14bb8d50
commit 6f3e01e23f

View File

@ -67,6 +67,7 @@ fn update_list() -> String {
println!("Guilds updated!");
}
"done".to_owned()
}
fn main() {
@ -84,4 +85,4 @@ fn establish_connection() -> PgConnection {
.expect("DATABASE_URL must be set");
PgConnection::establish(&database_url)
.expect(&format!("Error connecting to {}", database_url))
}
}