Fix compile error
This commit is contained in:
parent
ba14bb8d50
commit
6f3e01e23f
@ -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))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user