From 0ceed8fd9bd204533dacf3b79be1e0d97f33ed3e Mon Sep 17 00:00:00 2001 From: Lyra Date: Fri, 6 Dec 2019 23:47:30 +0100 Subject: [PATCH] Import the Settings struct instead of prefixing the namespace --- server/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main.rs b/server/src/main.rs index 60e85e576..cdcd7a656 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 || {