From: Lyra Date: Fri, 6 Dec 2019 22:47:30 +0000 (+0100) Subject: Import the Settings struct instead of prefixing the namespace X-Git-Url: http://these/git/readmes/%7Bthis.props.banner%7D?a=commitdiff_plain;h=0ceed8fd9bd204533dacf3b79be1e0d97f33ed3e;p=lemmy.git Import the Settings struct instead of prefixing the namespace --- diff --git a/server/src/main.rs b/server/src/main.rs index 60e85e57..cdcd7a65 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -10,6 +10,7 @@ use lemmy_server::db::establish_connection; use lemmy_server::feeds; use lemmy_server::nodeinfo; use lemmy_server::websocket::server::*; +use lemmy_server::Settings; use std::env; use std::time::{Duration, Instant}; @@ -191,7 +192,7 @@ fn main() { // Start chat server actor in separate thread let server = ChatServer::default().start(); - let settings = lemmy_server::Settings::get(); + let settings = Settings::get(); // Create Http server with websocket support HttpServer::new(move || {