Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HitomiTenshi committed Oct 23, 2022
1 parent f7a64ef commit 762c382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async fn main() -> io::Result<()> {
let app_config = AppConfig::from(&matches);
let server_config = ServerConfig::from(&matches);
let pool = server_config.open_database_pool().await.unwrap();
let port = app_config.port.clone();
let port = app_config.port;

let mut server = HttpServer::new(move || {
App::new()
Expand Down

0 comments on commit 762c382

Please sign in to comment.