From 6f3e01e23f6d1c17d961e94f84f2f9cccec13783 Mon Sep 17 00:00:00 2001 From: Sakuhl <2012collector@gmail.com> Date: Tue, 20 Mar 2018 12:08:42 +0100 Subject: [PATCH] Fix compile error --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3150d58..749f580 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)) -} \ No newline at end of file +}