From 31cc0eb64e53cddf8c34b12f5ba82a9feff20ca1 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Wed, 5 Dec 2018 17:30:55 -0600 Subject: [PATCH] Missing assignment --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8218716..da7f66c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,10 +111,10 @@ fn main() { host, port, workers, config_path ); - actix_server = actix_web::server::new(|| server::router::create()) + let actix_server = actix_web::server::new(|| server::router::create()) .workers(workers) .bind(format!("{}:{}", host, port)); - + match actix_server { Ok(server) => server.run(), Err(e) => error!("{}", e)