style: format code

This commit is contained in:
Sandro Eiler 2024-01-01 21:03:40 +01:00
parent 486271a523
commit f2398b650c
2 changed files with 4 additions and 6 deletions

View file

@ -1,5 +1,5 @@
use learn_axum::startup;
use learn_axum::configuration::get_configuration;
use learn_axum::startup;
use tokio::net::TcpListener;
#[tokio::main]

View file

@ -1,7 +1,7 @@
use learn_axum::configuration::get_configuration;
use sqlx::{Connection, PgConnection};
use std::net::SocketAddr;
use tokio::net::TcpListener;
use sqlx::{PgConnection, Connection};
use learn_axum::configuration::get_configuration;
struct TestApp {
address: String,
@ -92,7 +92,5 @@ async fn spawn_app() -> TestApp {
.await
.unwrap();
});
TestApp {
address
}
TestApp { address }
}