From 2f856a30227341ca5d720b092e667d9b0d578255 Mon Sep 17 00:00:00 2001 From: Luke Harding Date: Thu, 2 May 2024 21:10:11 -0400 Subject: [PATCH] Make util use uniform --- server/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index b6fadc9..784d650 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -5,8 +5,6 @@ use std::env; use actix_web::{App, get, HttpResponse, HttpServer, Responder}; -use crate::util::warn_println; - mod util; #[actix_web::main] @@ -19,7 +17,7 @@ async fn main() -> std::io::Result<()> { // Load .env if let Err(e) = dotenvy::dotenv() { - warn_println(format!("Failed to load dotenv: {}", e)) + util::warn_println(format!("Failed to load dotenv: {}", e)) }; // If env variable for port or bind_addr is present use that instead of default.