features, cleanup and bug fixes #26
1 changed files with 2 additions and 2 deletions
remove unnecessary qualification
commit
78e837ae8c
|
|
@ -49,7 +49,7 @@ pub fn init_logger() -> Result<(), SetLoggerError> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_web::main]
|
#[actix_web::main]
|
||||||
async fn main() -> std::result::Result<(), error::SeverInitializationError> {
|
async fn main() -> Result<(), error::SeverInitializationError> {
|
||||||
let _ = init_logger();
|
let _ = init_logger();
|
||||||
|
|
||||||
let result = run().await;
|
let result = run().await;
|
||||||
|
|
@ -59,7 +59,7 @@ async fn main() -> std::result::Result<(), error::SeverInitializationError> {
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn run() -> std::result::Result<(), error::SeverInitializationError> {
|
async fn run() -> Result<(), error::SeverInitializationError> {
|
||||||
let server_config = ServerConfig::load().await?;
|
let server_config = ServerConfig::load().await?;
|
||||||
|
|
||||||
let mut listen_fd = ListenFd::from_env();
|
let mut listen_fd = ListenFd::from_env();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue