qualify instead of import
This commit is contained in:
parent
91d9ff4157
commit
2f35b9bdbd
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
use actix_files::Files;
|
||||
use actix_web::{middleware::DefaultHeaders, web, App, HttpServer};
|
||||
use std::io;
|
||||
|
||||
mod config;
|
||||
mod template;
|
||||
|
@ -24,7 +23,7 @@ mod portfolio;
|
|||
mod contrib;
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() -> io::Result<()> {
|
||||
async fn main() -> std::io::Result<()> {
|
||||
let config = config::get_config("./config/config.toml");
|
||||
|
||||
let addr = ("0.0.0.0", config.fc.port.unwrap());
|
||||
|
|
Loading…
Reference in a new issue