diff --git a/src/main.rs b/src/main.rs index 7178a0b7..c18ea055 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,3 @@ -#[cfg_attr(feature = "cargo-clippy", allow(clippy))] extern crate actix; extern crate actix_web; extern crate docopt; diff --git a/src/server.rs b/src/server.rs index 83529e75..c1dc56e8 100755 --- a/src/server.rs +++ b/src/server.rs @@ -24,7 +24,8 @@ pub fn new(config: Config, pool: PostgresPool) -> SystemRunner { config.table_sources.clone(), config.function_sources.clone(), ) - }).bind(listen_addresses.clone()) + }) + .bind(listen_addresses.clone()) .expect(&format!("Can't bind to {}", listen_addresses)) .keep_alive(keep_alive) .shutdown_timeout(0)